[jQuery] Re: window close function >_

2009-09-29 Thread Mike McNally
I don't like them, but they're useful for applications where there are "compositional" dialog-like things, such as email or email-like applications, or maybe a blog. It's nice to be able to warn people that they're about to dump all their typing on the floor. But I agree that when possible it's b

[jQuery] Re: window close function >_

2009-09-29 Thread RobG
On Sep 30, 2:02 pm, Mike McNally wrote: > In that it handles the case where distinct independent (mutually > unaware, even) portions of the page may want their own unload > callbacks invoked, I'd say so. If you like breaking fast history navigation, go for it. Better to avoid unload listeners

[jQuery] Re: window close function >_

2009-09-29 Thread Mike McNally
In that it handles the case where distinct independent (mutually unaware, even) portions of the page may want their own unload callbacks invoked, I'd say so. 2009/9/29 RobG : > > > > On Sep 30, 11:21 am, -JD- wrote: >> Al cerrar una pagina necesito llamar a otra para poder hacer algunos >> camb

[jQuery] Re: window close function >_

2009-09-29 Thread RobG
On Sep 30, 11:21 am, -JD- wrote: > Al cerrar una pagina necesito llamar a otra para poder hacer algunos > cambios en mi DB. Intenté con esto: >                                 $(window).unload( function () { alert("Bye > now!"); } ); Which is so much simpler than: window.onunload = functio