Possible Duplicate:
How to enable or disable an anchor using jQuery?
I have this:
<a onclick="javascript:btnSave_onclick();" class="button">Save</a>
Basically, the link is acting like a button.
However, there are some conditions when I need to make it disabled. How to do this?