I have a pair of values.
I don't want a <key, value> pair.
I want a <value,value> pair.
I have created a select tag. and its options are the pairs.
<option value="value1" >value2</option>
The code below selects the options that have value=i.
options = $("#myselect option[value='"+i+"']");
I want to select the option that value=val1 and text = val2.
Any other idea?