Name
closed — NN 3 IE 4 DOM n/a
Synopsis
Read-only
Boolean value that says whether the referenced window is closed. A
value of true
means the window is no longer
available for referencing its objects or script components. This is
used most often to check whether a user has closed a subwindow
generated by the window.open( )
method.
Example
if (!newWindow.closed) { newWindow.document.write("<HTML><BODY><H1>Howdy!</H1></BODY></HTML>") newWindow.document.close( ) }
Value
Boolean value: true
| false
.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.