title: How to select the last one of a certain element in JavaScript
body: <p>I have several <code>&lt;select&gt;</code> elements in my page. Is there any easy way to select the last one of them? This brings me the first one:</p>
  
  <pre><code>document.getElementById("myList")
  </code></pre>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Sorry for the wrong usage of <code>getElementById</code>. Let me change my question: How to access the last one of a certain element using <code>getElementsByTagName</code>? </p>
  
  <p><code>document.getElementsByTagName("select")</code> </p>