This package can be used to lookup for cities and the respective zip codes.
It uses AJAX to search a file database with cities and the respective zip codes using just the first few letters of the city that the user types in a form text input.
The class can submit an AJAX request to find the cities that match the typed letters and display the city names without reloading the whole page.
It can also search for zip codes if the user types the first numbers of the zip code to search.
The listing that is displayed may be sorted by city name or zip code.
The example uses a file database with French cities but it may be replaced by another file with city and zip code information of anywhere in the world.
ADDITION : I put 2 versions :
'villes_normal/' folder is the old version
'villes/' folder is the new version, with Phonex and Soundex searches and sorting added