how to get select option based on value
<p>How would I get a select option based on a value of that option.</p>

<p>for example:</p>

<pre><code>&lt;select&gt;
  &lt;option&gt;option1&lt;/option&gt;
  &lt;option&gt;option2&lt;/option&gt;
  &lt;option&gt;option3&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I want to  find option2 based on the value.</p>

<pre><code>var temp = "option2"; 
$(select).get(temp);
</code></pre>

<p>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.</p>
