Script Categories

Page Details >>> Close Window.

JavaScript can close a window when you push a button or click a text link. Super-short script too!

Open Window

Add the below code to the <body> section of your page:

type=button value="Close Window" onClick="javascript:window.close();">

<a href="javascript:window.close();">Close Window</a>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!). . Bitcoin Dice Site