How to disable a href link
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/970388/jquery-disable-a-link">jQuery disable a link</a>  </p>
</blockquote>



<p>I am in a problem like I want to disable my href link in jquery.
I tried to remove the click and href attribute by:</p>

<pre><code>$(this).removeAttr('onclick');
</code></pre>

<p>But still it's able to click..I want my href links to be non-click mode.</p>
