SyntaxFix
Write A Post
Hire A Developer
Questions
What if onclick event is not directly on element, but from parent element? This should work:
$(".noclick").attr('onclick','').unbind('click'); $(".noclick").click(function(e){ e.preventDefault(); e.stopPropagation(); return false; });