1611 shaares
17 private links
17 private links
3 results
tagged
event
You can simply save and restore the entire events object:
var events=$._data(elem, 'events'); // save events
$._data(elem, 'events', {}); // cancel all events
// any code here will not fire events
$._data(elem, 'events', events); // restore events
This worked for me but may have unknown side effects ...