Reputation: 113
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 accomplished ?
Upvotes: 2
Views: 7067
Reputation: 1191
This function is part of the new version of Jquery You don't need any extra plugin to use it:
http://jqueryui.com/autocomplete/
Upvotes: 0
Reputation: 479
Jquery autocomplete is one of the best for you
http://docs.jquery.com/Plugins/Autocomplete#source
http://docs.jquery.com/Plugins/Autocomplete#demo
Upvotes: 3
Reputation: 388163
There are quite a lot different JQuery plugins for this purpose:
Upvotes: 3