selecting a char in jquery
<p>I got a question,</p>

<pre><code>&lt;a id="shoppingLink1" href="?page=bestellen&amp;amp;action=add&amp;amp;id=2"&gt;
  &lt;img src="images/shoppingcartButton.png" class="shoppingButton"  alt="shoppingcartButton" title="shoppingcartButton"/&gt;
&lt;/a&gt;&lt;br/&gt;
</code></pre>

<p>in jquery, when i click on the shoppingButton i would like to select the last character from the id "shoppingLink". the "1" .</p>

<p>These are dynamicly added thou so if it comes to 10 it should automaticly select the last 2 characters. Anyone who can help me?</p>
