JQuery: How to AutoComplete "City, State" ?

Posted by NickT on Stack Overflow See other posts from Stack Overflow or by NickT
Published on 2010-04-06T17:04:46Z Indexed on 2010/04/06 17:13 UTC
Read the original article Hit count: 306

Question: How can you use the JQuery Auto-Completion plugin to suggest a location ("City, State") for an input field?

Meaning, someone wants to type in "Chicago, IL" ... so they begin typing "Chi" and it auto-suggestions "Chicago, IL".

My biggest hurdles is finding a service that I can query to find out all US city+state names.

I essentially want to do what the StackOverflow "Tags" input form works but form "City, State" auto completion.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery