title: How to count number of option tags using jQuery?
body: <p>I have a question as to how can I calculate number of options tag when I have multiple select box with same class and id? </p>
  
  <p>Let's say I have three select boxes. And I want the size of select box, so that I can dynamically add new select box with the same options:</p>
  
  <pre><code>&lt;select id="selectid" class="selectclass"&gt;
      &lt;option&gt;1&lt;/option&gt;
      &lt;option&gt;2&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;select id="selectid" class="selectclass"&gt;
      &lt;option&gt;1&lt;/option&gt;
     &lt;option&gt;2&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;select id="selectid" class="selectclass"&gt;
      &lt;option&gt;1&lt;/option&gt;
      &lt;option&gt;2&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>