Using the window.close() Method to Close a Browser Window : Window : Window Browser JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Window Browser » Window »

 

Using the window.close() Method to Close a Browser Window



<HTML>
<BODY>
<H1> 
I'm not even fully opened yet! 
<SCRIPT
   if (window.confirm("Do you want to close the browser?")) 
     window.close()
</SCRIPT>
</H1>
</BODY>
</HTML>
           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Window Browser
» Window