[jQuery] Re: window close function _

2009-09-29 Thread RobG
On Sep 30, 11:21 am, -JD- juhand...@gmail.com 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:

[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 robg...@gmail.com: On Sep 30, 11:21 am, -JD- juhand...@gmail.com wrote: Al cerrar una pagina necesito llamar a otra

[jQuery] Re: window close function _

2009-09-29 Thread RobG
On Sep 30, 2:02 pm, Mike McNally emmecin...@gmail.com 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

[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