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:

<center>
<form>
<input
type=button value="Close Window" onClick="javascript:window.close();">
</form>

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

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!).




©