admin管理员组文章数量:1323723
I am trying to do this but keep on failing.
I have a text box. I have also an array of cities, and i want, while typing to display the cities that the user should be able to select.
Like if the user is typing : Mu the drop down should display Mumbai \n MuMu ... etc Like the Tags below is doing !
Does someone have any ideas in how this can be acplished ?
I am trying to do this but keep on failing.
I have a text box. I have also an array of cities, and i want, while typing to display the cities that the user should be able to select.
Like if the user is typing : Mu the drop down should display Mumbai \n MuMu ... etc Like the Tags below is doing !
Does someone have any ideas in how this can be acplished ?
Share Improve this question edited Mar 23, 2010 at 7:16 poke 388k80 gold badges591 silver badges628 bronze badges asked Mar 23, 2010 at 7:07 Stelios PhilippouStelios Philippou 1131 gold badge3 silver badges14 bronze badges3 Answers
Reset to default 3There are quite a lot different JQuery plugins for this purpose:
- http://bassistance.de/jquery-plugins/jquery-plugin-autoplete/
- http://code.google./p/jquery-autoplete/
- http://www.pengoworks./workshop/jquery/autoplete.htm
Jquery autoplete is one of the best for you
http://docs.jquery./Plugins/Autoplete#source
http://docs.jquery./Plugins/Autoplete#demo
This function is part of the new version of Jquery You don't need any extra plugin to use it:
http://jqueryui./autoplete/
本文标签: autocompleteJavascriptautoload text box while typingStack Overflow
版权声明:本文标题:autocomplete - Javascript, autoload text box while typing - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742122893a2421805.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论