I have a hyper link on my web page and I want to disable so the user cannot click on it and when the user do changes in other part of the form (an event happen) the link gets enabled.
<a href="" id="saveChanges" >Save changes</a>
I tried $("#saveChanges").attr("disabled", true);
but I still can click on the link. any idea? thanks