Hi
I have 2 select boxes on my web page - 1 for country and one for prov/state as below:
and I have attached my js file.
It works fine except when I go to the next page and then press the back button, the prov/state select box
is empty - the country select retains the value selected.
How do I fix this?
<select id=“txtCountry” type=“text” name=“country” onchange=“GetStateProv();”>
<option value=“”></option>
<option value=“Canada”>Canada</option>
<option value=“United States”>United States</option>
<option value=“United Kingdom”>United Kingdom</option>
</select>
<span style=“margin-top:3px;”>State/Prov:</span>
<select id=“txtStateProv” type=“text” name=“state-prov”>
</select>