title: How to get child element by index in Jquery?
body: <pre><code>&lt;div class="second"&gt;
      &lt;div class="selector" id="selFirst"&gt;&lt;/div&gt;
      &lt;div class="selector" id="selSecond"&gt;&lt;/div&gt;
      &lt;div&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How to get #selFirst using element index not the ID?</p>
  
  <p>this:</p>
  
  <pre><code>var $selFirst = $(".second:nth-child(1)");
  console.log($selFirst);
  </code></pre>
  
  <p>is returning :    </p>
  
  <pre><code>jQuery(div.second)
  </code></pre>