Country State Drop Down | JavaScriptSource

Country State Drop Down

JavaScriptSource Staff Dec 9, 2005
A simple international country and state drop down list that automatically repopulates the state section based on the country selected without page refreshes. Select a country and the country's states or provinces are listed on the right. If the country doesn't have any states or provines configured, a text box is displayed.

The JavaScript Source: Forms : Country State Drop Down

Simply click inside the window below, use your cursor to highlight the script, and copy ([Control]+C) the script into a new file in your text editor (such as Note Pad) and save [Control+S]. The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response

(
1 comment)

Thanks for this great script. I was wondering how can I remove the undefined option in country drop down.

Omer May 16, 2012