I need to have a user select their address in our address database (I’m in a local government agency) mostly so I can get their property pin #. In the past, we have prompted for addresses by first selecting street, then direction, then house number. This works but as always, I am looking for a better way. I found this cool jQuery plugin called Chosen that allows a person to start typing and it’ll automagically search and find something in the list. I am thinking this would be a great way for someone to search for their address but as you can imagine, this list is quite large and is only getting bigger. I don’t really want to send the entire list across the internet for one address.
I am thinking I need to have a web service return data like Google instant search does. After about 3 characters, I provides them with a list. Is there any jQuery (or other type) controls that can poll a web service as you type?
Try the jQueryUI autocomplete widget. Sounds like it’s just what you need.
Here’s the description from the site: