开发者

How to make jqueryui autocomplete use just one list (ul) for all textboxes in page

I have the problem where I have around 30 textboxes and they all require autocomplete. I noticed开发者_如何学C jqueryui creates one result list (ul) for each textbox, adding more markup and events to my already heavy page. Is there a simple and clean way of extending the jqueryui autocomplete widget so that all textboxes use the same result list?


Is there a simple and clean way...

Nope, you'd have to rewrite some pretty fundamental parts of the plugin for this to work, there's no "quick fix" to make this work. Also, several aspects like being shown with a callback, etc rely on each autocomplete instance having its own list.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜