I am using the following code to disable the click event for anchor tags:
//disable Click event for links except navigation
$("a:not(#navigation a)").live('click', function(e) {
e.preventDefault;
return false;
});
I need to reenable or remove the implementation which was set as above on click of an another button.
How to do it in jquery?
To remove event handlers connected with
live, you can usedie: