$("*").unbind("click"); // Removes all click handlers added by javascript from every element
$("[onclick]").removeAttr("onclick"); // Finds all elements with an 'onclick' attribute, and removes that attribute
$('*').click(function(e){e.preventDefault();});
Read full article from javascript - How do I disable all the onclick events on a page - Stack Overflow
No comments:
Post a Comment