Set selected value for dropdown based on the display value in jquery/javascript
<p>Does anyone know how can I set the selected value for dropdown based on the display value in jquery/javascript </p>

<p>Example:</p>

<pre><code>&lt;select id='test'&gt;
  &lt;option value='sgf'&gt;One&lt;/option&gt;
  &lt;option value='sdf'&gt;Two&lt;/option&gt;
  &lt;option value='gfr'&gt;Three&lt;/option&gt;
  &lt;option value='dfg'&gt;Four&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>How Can I set the selected to value based on the display value? Let say, I want to set the selected when display value is 'Three'</p>
