August 2006
Intermediate to advanced
1018 pages
34h 13m
English
Window.close( ): close a browser window — JavaScript 1.0:
window.close( )The close( ) method closes
the top-level browser window specified by
window. A window can close itself by
calling self.close( ) or simply
close( ). Only windows opened by
JavaScript can be closed by JavaScript. This prevents malicious
scripts from causing the user’s browser to exit.
Window.open( ), the
closed and opener properties of Window
Read now
Unlock full access