Javascript Code: Close the browser Window on button click

How to close the browser after a button click?

The below Javascript code will help you to close browser windows or popup when someone click on the close button.To close the IE or you can close the windows and exit from windows and popup.

Using Javascript.
For HTML input control use onclick event or OnClientClick for server Button control. Call window.close();
 

    
Tags: , , ,

Join Us!