title: Getting highest ID in Javascript
body: <p>I have different spans in my HTML with each decimal ID's:</p>
  
  <pre><code>&lt;span id="1"&gt;Lorem Ipsum&lt;/span&gt;
  &lt;span id="23"&gt;Lorem Ipsum&lt;/span&gt;
  &lt;span id="6"&gt;Lorem Ipsum&lt;/span&gt;
  </code></pre>
  
  <p>I want to get the highest ID, using javascript. In this case it should return 23.</p>
  
  <p>How can I do this?</p>
  
  <p>Thanks.</p>