Home > Code > Javascript > Close a browser window or page using Java script

Close a browser window or page using Java script

by Thamil   on Nov 14, 2010   Category: Javascript   |  Views: 1056    |  Points: 25   |  Gold 


<form id="form1" runat="server">
<div>
<input id="btnOpenWindow" type="button" onclick="window.close()" value="Close window" />
</div>
</form>





Post Code  |  Code Snippet Home

User Responses


No response found, be the first to review this code snippet.

Submit feedback about this code snippet

Please sign in to post feedback

Latest Posts