Code for closing the browser with the help of a button?

Posted by Kmandapalli under JavaScript category on | Points: 40 | Views : 382
<!-- Start of Close Browser Script -->
<!-- When the "Close Window" button is clicked, this script
will close the browser window that the webpage is in.
<script language="JavaScript">

function closeIt() {

// -->

<input type=button value="Close Window" onClick="closeIt()">

<!-- End of Close Browser Script -->
<font face="Tahoma"><a target="_blank" href=""><span style="font-size: 8pt; text-decoration: none">DotNet Funda</span></a></font>

Comments or Responses

Login to post response