Can I get value as number?
<p>I have a few elements with numeric IDs. Each ID is in a separate span. Can I get that value as a number in order to increment? I tries as text but it does not seem to work...</p>

<pre><code>var lastVal = $(".myID:last").text(); 
var newVal  = lastVal++;

Value &lt;span class="myID"&gt;5&lt;/span&gt;
</code></pre>
