title: How to find select option position?
body: <p>I'm trying to find an option's index.</p>
  
  <p>For example, I would like to get 1 when I run the following fake code</p>
  
  <p>JS:</p>
  
  <pre>
  $("#test[value='USD']").index() ?
  </pre>
  
  <p>HTML:</p>
  
  <pre><code>&lt;select id='test'&gt;
    &lt;option value='CNY'&gt;CNY&lt;/option&gt;
    &lt;option value='USD'&gt;USD&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>is this possible?</p>