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

Prompt when closing window

Status
Not open for further replies.

earme

Programmer
Jul 27, 2000
155
US
Hello all,

When a user is closing the browser, is there a way to pop up a box that will ask them if they really want to do that, and if they choose no, don't close the browser?
I know that there is the onunload event, but I think that it will continue to close anyway.
Any ideas?

Thanks!
Evie

PS. Sorry if this has already been asked and answered, I tried to do a keyword search, but that's apparently down.
Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top