I have a select control that looks like this:
<select name="MyName" id="MyID">
<option value ="1">1 day</option>
<option value ="2">2 days</option>
<option value ="3">3 days</option>
<option value ="4">4 days</option>
<select>
I'm looking to get the text of the option based on the value. For instance, if I input 2, it should return "2 days".
Thanks for your suggestions.