title: How to select nth child of mth element using jQuery
body: <p>I've been looking for my problem but I could'nt find the exact solution. I want to select a child element (e.g 2nd child) of an element with a class name (e.g 3rd element of element with "some-class" class name). In a nutshell, second child of the third element of a class.</p>
  
  <p>I've tried combining <code>:eq(2)</code> and <code>:nth-child(2)</code>, but apparently it's not working.</p>
  
  <pre class="lang-js prettyprint-override"><code>var result = $(".some-class:eq(2) :nth-child(2)");
  </code></pre>
  
  <p>The result is <code>undefined</code>.</p>
  
  <p><strong>HTML format:</strong></p>
  
  <pre><code>&lt;div class="some-class"&gt;Some content&lt;/div&gt;
  &lt;div class="some-class"&gt;&lt;Some content&lt;/div&gt;
  &lt;div class="some-class"&gt;
    &lt;p&gt;Some paragraph&lt;/p&gt;
    &lt;p&gt;THE ELEMENT I WANT TO SELECT!&lt;p&gt;
    &lt;div&gt;Some content&lt;/div&gt;
  &lt;/div&gt;
  
  </code></pre>