.disable{ pointer-events:none; } with jquery add this class to you element to disable is and remove class to enable it
<a href="link.html" class="disabled">Link</a>