I have a form with two select form elements.
If I change one form element ( country ) I would like the states to be
updated too via AJAX.

Can someone point me to the right direction with this?

Thank you,


<select id="states">
<option>AL</option>
<option>AK</option>
...
</select>

<select id="country">
<option selected>USA</option>
<option>UK</option>
...
</select>

Upon clicking on country, how do I update the states. I store them in
an array.

Reply via email to