I use a variation of this code:
http://www.codeproject.com/KB/aspnet/Search_SuggestTextBox.aspx
Essentially, every time a key is pressed in the box, an ajax call is made and the textbox's value is passed to a PHP page that parses the typed text, makes sense of it, and displays a drop-down-like box that gives you selection options.
You can see my implementation on this page:
http://www.needthishere.com/index.php
Once the page loads, type a zip code in the appropriate box. This technique can be used for an type of auto-complete-lookup-type functionality.