I want to disable all click events on my page but some of events are still getting called, suppose I have html as below
Just remove the onclick attribute from elements that have it, and unbind the 'click' event using .off('click') method
onclick
.off('click')
$('#parent *[onclick]').removeAttr('onclick').off('click');