title: Select second class element via jquery
body: <p>I have below <code>html</code> and I want to select each <code>example1</code> class so that I can modify them using jQuery.</p>
  
  <pre><code>&lt;div class="abc"&gt;
      &lt;div class="def"&gt;
          &lt;div class="pqr" &gt;
              &lt;div class="example1" data-slick-index="0" aria-hidden="false"&gt;&lt;/div&gt;
              &lt;div class="example1" data-slick-index="1" aria-hidden="false"&gt;&lt;/div&gt;
              &lt;div class="example1" data-slick-index="2" aria-hidden="false"&gt;&lt;/div&gt; 
           &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Can anyone advise how could I do that ?</p>
  
  <p>via <code>:first</code> and <code>:last</code> I can select first and last element, but how should I select the second element ?</p>