Prevent link <a> without href from clicking
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1164635/how-to-enable-or-disable-an-anchor-using-jquery">How to enable or disable an anchor using jQuery? </a>  </p>
</blockquote>



<p>I have this:</p>

<pre><code>&lt;a onclick="javascript:btnSave_onclick();" class="button"&gt;Save&lt;/a&gt;
</code></pre>

<p>Basically, the link is acting like a button.</p>

<p>However, there are some conditions when I need to make it disabled. How to do this?</p>
