Reputation: 2044
If you go to http://profile.microsoft.com and edit your personal information, you will select your country. When a country is selected the city and/or state information changes based on what is expected for that country. Does anyone have any examples on how to accomplish this? Is there any service (free service) that provides this information?
Upvotes: 4
Views: 8074
Reputation: 10825
You have to use Javascript to dynamically populate the city/state SELECT tag whenever the country SELECT tag is changed, which you can catch using an Event Handler.
Upvotes: 1
Reputation: 9552
Well it's based on your IP tracking, you can find users country via his IP address, all the list of Cities, for specific countries you can find somewhere and add it to your functionality, also you probably need some ajax functions for filing up drop downs or even better a JSON.
Upvotes: 0
Reputation: 36647
Because you tagged your question with "jquery", here is an example of a "Depending / Cascading Selectbox" (which you are searching)
Upvotes: 3