Click to See Complete Forum and Search --> : JS See if window is closed?
vbNeo
Feb 8th, 2004, 05:41 PM
If I open a window with JS, is there any way to constantly check if it's closed again ? Or is it possible to send a message from the window I opened to the window that opened it saying it's going to close? I need to redirect a page as soon as it's popup closes!
Cheers!
scimini
Feb 8th, 2004, 07:29 PM
There is no onclose event but their is an onUnload event.
vbNeo
Feb 8th, 2004, 08:02 PM
found out I can open it as an object, and use myObject.Closed() which you return a boolean value, which is what I need. But I don't have access to the code that opens the popup and it opens it using OpenWindow(blabla), or something like that, without making it an object, so that's useless...
Cheers!
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.