Java Applets
Popup Maker
Top Picks
New Scripts
Java Scripts

Closing Windows from JavaScript
Back to JavaScript Main Index

This set of short, easy scripts shows six different ways to close a window from JavaScript, including closing windows from a clicked link, a clicked image, or a clicked form button.  Special instructions are also included for closing windows comprised of frameset pages.

To try the script
Click Here
Click here to select the code in the window below.
Use Ctrl+C to copy it to your clipboard.

Home Java Applets JavaScript Index Resources New Scripts Need Still More Scripts?

Copyright 1996 - 2012 by OEC Corp and

CodeBrain InterNET