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
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
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
*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
4 matches
Mail list logo