|
WindowCloseMethod
The window.close method
Closes a browser window. ArgumentsNo arguments Usagewindow.close(); // closes current window child.close (); // closes a child window opened with window.open () Browser compatibility
Further reading |
Sign in to add a comment
Firefox will only close windows that are opened using the window.open method.