title: How to select last element with jquery?
body: <p>I want to select the  last <code>audio</code> element on my webpage <a href="http://sycoscientistrecords.github.io/" rel="nofollow">http://sycoscientistrecords.github.io/</a> I tried:  </p>
  
  <pre><code>$(" audio:last-of-type");
  </code></pre>
  
  <p>The problem is that it returns all the <code>audio</code> elements:  </p>
  
  <p><code>Object { length: 12, prevObject: Object, context: HTMLDocument → index.html, selector: " audio:last-of-type", 12 more… }</code></p>
  
  <p>There are 12 audio elements on the page and the jquery selector returns all of them.  </p>
  
  <p>So, How do I select last element with jquery?</p>