Disabled the a tag (link) by using javascript
<p>Does anyone how can I disabled  the a tag (link) by using javascript? </p>

<p>Example:</p>

<pre><code>&lt;div class="sub-heading"&gt;
  Contact Details &amp;nbsp; &amp;nbsp; &amp;nbsp; 
  &lt;a href="./cust_add_edit_customer.php?action=edit_customer_details&amp;amp;cust_code=12761"&gt;  
    &lt;img class="imgVA editIconPad" src="../images/edit0.gif" 
      alt="Edit Contact Details" border="0" width="20" height="17"&gt;
  &lt;/a&gt;
&lt;/div&gt;
</code></pre>

<p>I hope to disabled this a tag after a button been clicked.</p>
