title: find second id of the same id jquery
body: <p>I have a little issue with elements having the same ID name in a sharepoint solution.</p>
  
  <p>I am trying to add a class to the div using jquery:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div id="DeltaPlaceHolderMain"&gt;
      &lt;a id="mainContent" name="mainContent" tabindex="-1"&gt;&lt;/a&gt;
      &lt;div style="padding-left:5px"&gt;
  </code></pre>
  
  <p>If i write this Jquery line in the console:</p>
  
  <pre><code>$('#DeltaPlaceHolderMain');
  </code></pre>
  
  <p>I don't get the div that I want to add the class to because there are multiple #DeltaPlaceHolderMain id.</p>
  
  <p>So my question is how do i select only the second #DeltaPlaceHolderMain using jquery?</p>