|
November 2, 1999 Is the Window Still Open? Tips: November 1999
Yehuda Shiran, Ph.D.
|
|
Every window object has a closed property that contains a Boolean value specifying if the window was closed. Before referring to a browser window, you should make sure it is still open. You can either test the existence of the corresponding window object, or simply use the closed property. Here's an example:
When a window closes, the For more information, refer to the official documentation from Microsoft and Netscape.
People who read this tip also read these tips: Look for similar tips by subject: |