An automagic country-state select pair for online forms.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
jquery.countrystate.src.js

README

Creates paired country/state select boxes. The state box will update with
appropriate states/provinces for the selected country. Requires
jQuery.doubleSelect (http://www.jgeppert.com/jquery-doubleselect/).

Usage:
jQuery(function($) {
	var options = {
		emptyOption:true,
		emptyKey:'',
		emptyValue:'-------',
		preselectFirst : 'US',
		preselectSecond: 'AK'
	}
	$('#country').doubleSelect('#state', options);
});

License GPL v.2.0.