[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

[jQuery] Re: window close

2008-11-26 Thread brian
I think your close link is in the wrong scope for what you want to do. You probably want to have something along these lines: div id=the_pop_up_div [close link] div [external content here] /div /div On Wed, Nov 26, 2008 at 12:30 AM, Namrata Vagyani [EMAIL PROTECTED]wrote:

[jQuery] Re: window close

2008-11-25 Thread brian
Is the content of the pop-up (including the close link) an external file? In any case, why not just give the pop-up div an ID? On Tue, Nov 25, 2008 at 12:05 AM, Namrata Vagyani [EMAIL PROTECTED]wrote: This is also not working :( On Mon, Nov 24, 2008 at 7:51 PM, Isaak Malik [EMAIL PROTECTED]

[jQuery] Re: window close

2008-11-25 Thread Namrata Vagyani
yes the content of pop-up is in external file. I tried with ID also but not able to hide it. On Tue, Nov 25, 2008 at 10:41 AM, brian [EMAIL PROTECTED] wrote: Is the content of the pop-up (including the close link) an external file? In any case, why not just give the pop-up div an ID? On

[jQuery] Re: window close

2008-11-24 Thread Isaak Malik
Try: $(this).parents('.popup_window_wrapper').hide(); On Mon, Nov 24, 2008 at 6:08 AM, Debby [EMAIL PROTECTED] wrote: Hi all, On click of hyperlink, i am cerating one popup which is under one div having class but no id. On click of close window hyperlink in the popup i want to hide this

[jQuery] Re: window close

2008-11-24 Thread Namrata Vagyani
This is also not working :( On Mon, Nov 24, 2008 at 7:51 PM, Isaak Malik [EMAIL PROTECTED] wrote: Try: $(this).parents('.popup_window_wrapper').hide(); On Mon, Nov 24, 2008 at 6:08 AM, Debby [EMAIL PROTECTED] wrote: Hi all, On click of hyperlink, i am cerating one popup which is under