Get state, county, city list of United States using geonames webservice. List of state, county, city of United States in select box
Using this script get the hierarchy of places in United States like get the state, county and city list of United States. When the page loads it automatically fetches all the states of United States and is populated in the first drop down select list box. and from the list of states which will be 50 you can pick one state for which you will get a list of counties. and by selecting a county you will get a list of all the cities. This service is provided by geonames.org. The following works very well for United States and Europe. Below is the code explanation and references.
Code sample will appear in a few days... Till that you can just copy this pages source code and you can use it. it is simple and straigh forward.