title: jQuery get the value from selectbox by its text
body: <p>I have a select box like this:</p>
  
  <pre><code>        &lt;select id="year"&gt;
          &lt;option value="1"&gt;1 Year&lt;/option&gt;
          &lt;option value="2"&gt;2 Years&lt;/option&gt;
          &lt;option value="3"&gt;3 Years&lt;/option&gt;
          &lt;option value="4"&gt;4 Years&lt;/option&gt;
          &lt;option value="5"&gt;5 Years&lt;/option&gt;
          &lt;option value="6"&gt;6 Years&lt;/option&gt;
          &lt;option value="7"&gt;7 Years&lt;/option&gt;
          &lt;option value="8"&gt;8 Years&lt;/option&gt;
          &lt;option value="9"&gt;9 Years&lt;/option&gt;
          &lt;option value="10"&gt;10 Years&lt;/option&gt;
          &lt;/select&gt;
  </code></pre>
  
  <p>I want to get value of a specific text in jQuery, like "value of 4 Years".  How can I do that?</p>