How to gain reference to a clicked Hyperlink
<p>I understand that I can use the .click() method on a hyperlink element.  But how do I know which element was clicked?  First I have to gain reference to the hyperlink's ID.</p>

<p>So lets say I have a page of hyperlinks like this in view source:</p>

<pre><code>&lt;a href="addButton1" href="...someurl"&gt;&lt;img src="somebutton"&gt;&lt;/a&gt;
&lt;a href="addButton2" href="...someurl"&gt;&lt;img src="somebutton"&gt;&lt;/a&gt;
&lt;a href="addButton3" href="...someurl"&gt;&lt;img src="somebutton"&gt;&lt;/a&gt;
&lt;a href="addButton4" href="...someurl"&gt;&lt;img src="somebutton"&gt;&lt;/a&gt;
</code></pre>

<p>when a user clicks addButton1, how do I even know it's addButton1 that was clicked in the first place so that I can now apply a .click() event on it?</p>
