title: How do I select an item by its text value in a dropdown using jQuery?
body: <p>If I had the following select, and did not know the value to use to select an item in advance like in this <a href="https://stackoverflow.com/questions/196684/jquery-get-select-option-text">question</a> or the index of the item I wanted selected, how could I select one of the options with jQuery if I did know the text value like Option C?</p>
  
  <pre><code>&lt;select id='list'&gt;
  &lt;option value='45'&gt;Option A&lt;/option&gt;
  &lt;option value='23'&gt;Option B&lt;/option&gt;
  &lt;option value='17'&gt;Option C&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>