[jQuery] unbind all events from jquery 1.3.2
Hello
I have a custom application build on top of gecko 1.9 and using
spidermonkey and some c++ calls js->c++->js
When i reload one application page i get some events triggered after
the page has been loaded.
The GC is destroying my objects and html elements some how, but the
events remain attached.
Is there a possibility to unbind all events at once?
I tried: $(window).unload(function () {
$(document).unbind(); or $("body").unbind(); or $(document,
window).unbind();
});
but the events are still somewhere in a cache system.
Can or is there a flag that i can set and prevent jquery to use cache?
The jquery is 1.3.2