I have the following html code:
<select class="pointSelect" id="mySelect" tabindex="2" name="mySelect">
<option value="01" selected="selected">Choose Country</option>
<option>United States</option>
<option>Canada</option>
<option>United Kingdom</option>
<option>Czech Republic</option>
<option>Any other Country</option>
</select>
<select class="pointSelect" id="mySelect1" tabindex="3" name="mySelect1">
<option value="nothing" selected="selected">Choose Shipping Options</option>
<option>Free Shipping</option>
<option>Registered Airmail</option>
<option>Express Shipping</option>
</select>
and the following jQuery code:
$("#mySelect").change(function() {
debugger;
var index = $(this).find("option:selected").index();
$("#mySelect1").find("option:lt("+index+")").attr("disabled","disabled");
$("#mySelect1").find("option:gt("+index+")").removeAttr("disabled");
});
How can i disable Free Shipping only for "Any other country".