Invoke cfquery for state/province retrieval when country selected on same page
I have a coldfusion generated selection list that defaults a country selection according to visitor location.
Further down the page is a state/ province list with a select query with the country input from the country selected in the list above.
I want to pass the country to the query depending on reselection of country so the appropriate states/provinces selection is selected further down the page without the user havin to leave the page.
Eg May arrive on page with Canada preselected but visitor may want to select USA , Australia etc.
The dynamic/ select input field is free format entry for countries without states,
You can use something dynamic, as below but loading it asynchronously via ajax might be better for you:
Open in new window