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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window.close popup warning

Status
Not open for further replies.

boatdrinks

IS-IT--Management
Jun 18, 2004
51
US
I am unsing the Javascript window.close and would like to eliminate the the popup that asks if you are sure you want to close the browser.

'Close Browser window when posting
Button2.Attributes.Add("onClick", "javascript:self.close)")  

This is the code I'm using, I think there is a way to set window.opener to something to fool the browser, but I'm not sure.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top