How can i call a JavaScript function in a href tag?
<p>i have a JavaScript function with some jQuery code within it. I want to call that from the href attribute.</p>

<p>code:</p>

<pre><code>&lt;a href='javascript:void(0)' onclick='delete()'&gt;
  &lt;img src="Graphic/btns/delete.jpg"  border='0' /&gt;
&lt;/a&gt;
</code></pre>
