Archive

Posts Tagged ‘widget’

Country and State Chooser JavaScript Widget

May 8th, 2010

I’ve put together a simple JavaScript widget which dynamically populates a state dropdown box when a country is selected. The widget includes states for the United States, Canada, and a few other countries. It should be trivial to modify the script to use a list of countries and states of your choosing. The full source is below. A minified version is also available. Enjoy!

David Underhill Web Development ,