Close window in javascript

Submitted by:Pitter Alderson

Date added:18 September, 2012


Attempts to close the current window. You can use it for popups

Tags: close window

Code Snippet:

<!-- Javascript close link script -->

<!-- Highlight this code then copy and paste into the <body></body> tags where you want the button to appear -->

<a href="#" onClick="close.window();">Close Window</a>