jQuery Image Click Help
<p>I'm like 2 hours new to jQuery. </p>

<p>I have a list that has usernames and an image next to each username. If they click on the the image next to the username that username will get deleted.</p>

<p>Example:</p>

<pre><code>&lt;table&gt;
&lt;tr&gt;&lt;td&gt;MARK&lt;/td&gt;&lt;td&gt;&lt;img src=delete.jpg id=MARK&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;DAVE&lt;/td&gt;&lt;td&gt;&lt;img src=delete.jpg id=DAVE&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>Those usernames are spit out of a MySQL database. How do I get jQuery to figure out which image is clicked? Since I can't hardcode the image id into the script....</p>

<p>Thank you</p>
