Click here to Skip to main content
15,068,471 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to close current browser window or tab using javascript....
Posted
Comments
Zoltán Zörgő 23-May-13 9:23am
   
What has this to do with c#? This is quite simple, what have you tried so far?

1 solution

Hi,
Please try the code for close the current window..

JavaScript
window.close();
   
Comments
Sergey Alexandrovich Kryukov 23-May-13 13:04pm
   
Captain Obvious at work; 5ed. :-)
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900