[jQuery] Re: unbind all events from jquery 1.3.2

2009-03-16 Thread ricardobeat
You could simply use $(window).trigger('unload') That will unbind all events bound through jQuery. A function for doing that is already defined in the source code: jQuery( window ).bind( 'unload', function(){ for ( var id in jQuery.cache ) // Skip the window

[jQuery] Re: unbind all events from jquery 1.3.2

2009-03-16 Thread Jonathan
jQuerys selector engine is browser independent. So $("*") actually refers to all elements and works in all browsers (this is why we love it). But I would be careful. $("*").unbind() can be slow. On Mar 16, 11:50 am, redcom wrote: > isn't this ie specific? > > On Mar 16, 8:50 pm, MorningZ wrote

[jQuery] Re: unbind all events from jquery 1.3.2

2009-03-16 Thread redcom
isn't this ie specific? On Mar 16, 8:50 pm, MorningZ wrote: > *maybe* > > $("*").unbind(); > > all your code is looking at the document itself and then the > tag itself > > On Mar 16, 2:44 pm, redcom wrote: > > > Hello > > I have a custom application build on top of gecko 1.9 and using > > spi

[jQuery] Re: unbind all events from jquery 1.3.2

2009-03-16 Thread MorningZ
*maybe* $("*").unbind(); all your code is looking at the document itself and then the tag itself On Mar 16, 2:44 pm, redcom wrote: > 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