How would I get a select option based on a value of that option.
for example:
<select>
<option>option1</option>
<option>option2</option>
<option>option3</option>
</select>
I want to find option2 based on the value.
var temp = "option2";
$(select).get(temp);
so i'm using get() as an example of what I want to do I know there isn't a get for that but I want it to return option2 as a jquery object.