add using jquery
<p>I want to do this</p>

<pre><code>var x=$(this).attr('id');
var y = x+1;
</code></pre>

<p>where x is an integer</p>

<p>but the value I get is x1</p>

<p>How do I do get the 16, if x=15?</p>

<p>Thanks
Jean</p>
