title: How to get <option> from <select> by its index?
body: <p>I'm having here a <code>&lt;select&gt;</code> that looks like this:</p>
  
  <pre><code>&lt;select id="stdin-select" class="io-byte-box" size="10"&gt;
      &lt;option&gt;0x5232&lt;/option&gt;
      &lt;option&gt;0xFD13&lt;/option&gt;
      &lt;option&gt;0x13E7&lt;/option&gt;
      &lt;option&gt;0x1234&lt;/option&gt;
      &lt;option&gt;0xFFFF&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>and I am trying to access the values by its <em>index</em> like this:</p>
  
  <pre><code>var stdinValue = $('.stdin-select.dropdown option').eq(0).text();
  </code></pre>
  
  <p>and this</p>
  
  <pre><code>var stdinValue = $('.stdin-select option').eq(0).text();
  </code></pre>
  
  <p>like described <a href="https://stackoverflow.com/questions/18520594/get-value-of-html-select-option-using-its-index-with-jquery">here</a> but it's not working.</p>
  
  <p>What am I doing wrong here?</p>