Enter a zip code and it will start autocompleting with 2 or more chars. Select a zip code from the list and it will fill in the city and state.
To get the source code, git clone
git://methvin.net/zip.git; it is available under
the MIT
License. Let me know if you make any useful additions or
improvements.