JavaScript Reference/Javascript Properties/closed

Материал из Web эксперт
Перейти к: навигация, поиск

"closed" Example

    
<html>
<body>
<button onclick="alert(window.closed);">closed Property Value</button>
</body>
</html>



"closed" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |window                                                        |
+----------------+--------------------------------------------------------------+



"closed" Syntax and Note

Note:
Read-only property. 
Is window closed.
    
Syntax:
    
window.closed
windowName.closed // IE only