How would I check to see if the first option is selected and then execute some code.
Something like, if select box named “My_Saved_Shipping” has the 1st option selected then execute the code.
<select name="My_Saved_Shipping">
<option>Select/Enter Address</option>
<option value="1">text</option>
<option value="2">text2</option>
</select>
If you want to test for the text within the
option, use: