Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Closing a browser window

Status
Not open for further replies.

TobiT

Programmer
Apr 30, 2001
2
GB
I am trying to close a browser window down while opening another window by using the Window.Close(). However, a message box come saying "The web page you are viewing is trying to close the window. Are you sure you want to close it?" I want to suppress this message box so that the user does not see this. I have read that if the window wasn't opened in code then closing it in code causes these message box to pop up in both Internet Explorer and Navigator

Can somebody tell me how I can suppress this message box.

Tobi Tikare
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top