Reputation: 13
I am trying to create an input field that begins listing possible names when the user starts typing. Almost exactly like "google suggestions". So the possible matches of what a user is typing begin to appear and narrow as the user types more letters...
What is this called? And what would be the best way to approach it? AJAX? Just javascript?
Upvotes: 1
Views: 2563
Reputation: 7249
Easiest thing i think is just to use jquery. http://jqueryui.com/demos/autocomplete/ You don't have to use ajax, you can preload the data in a list if you want to.
Upvotes: 2
Reputation: 795
what you need is jquery autocomplete
hope this helps.
Upvotes: 4