I am trying to untie all event handlers for all elements inside a specific container. Like a div. But these events were not linked / logged using jQuery. Some of them are associated with the manual method using onclick="...." or using normal native JavaScript.
But when I do something like this
$('#TheDivContainer').find('div,td,tr,tbody,table').unbind();
He does not work. This makes me think .unbind () only works if the events were originally jQuery related.
It's true? Is there any other way to undo all events from a group of elements?
Thanks!
javascript jquery javascript-events
7wp
source share