JavaScript Reference/Javascript Properties/closed

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

"closed" Example

   <source lang="javascript">
   

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


     </source>
   
  


"closed" is applied to

   <source lang="javascript">

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

     </source>
   
  


"closed" Syntax and Note

   <source lang="javascript">

Note: Read-only property. Is window closed.

Syntax:

window.closed windowName.closed // IE only


     </source>