Close the current browser window


This will produce a text link that, when clicked, will close the current browser window:

<a href="javascript:self.close()">Close the window</a>

produces:

Close the window

If the current window is the original window opened by the user, the user will see a prompt asking whether it's ok to close the window.


Hide your email address from spammers Back to RDP Web Resources MSIE prints only one page

Content & site maintenance by

Friday The Automatic FAQ Maker