|
|
Q1209 Is it possible to close the main window and all the popup windows at the same time?
irt.org | Knowledge Base | JavaScript | Window | Q1209 [ previous next ] Q1209 Is it possible to close the main window and all the popup windows at the same time?The onUnload event of the main page is triggered when the user leaves the page or closes the window. You will need to test if the user just follows a link, but the code to close the windows first require that you store all the references to the winods you open in an array:
|
-- div -->
|