Closing a Browser Window or page using Java script.

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under JavaScript category on | Points: 40 | Views : 422
Use window.close() method,
<form id = "form1" runat = "server">
<div>
<input id = "btnCloseWindow" type = "button" onclick = "window.close();" value = "Close window" />
</div>
</form>

Comments or Responses

Login to post response