window.close (IE) : close « Window « JavaScript Tutorial






<HTML>
<BODY>
<H2>Welcome to the New Window!</H2>
<FORM name="myform">
<INPUT TYPE="button" value="Close Window" onClick="window.close();">

<P>
</FORM>

</BODY>

</HTML>








19.3.close
19.3.1.window.close (IE)