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

Popup window when closing

Status
Not open for further replies.

jerasi

Programmer
Jun 19, 2000
141
0
0
CA
We came up with a survey for one of our most notorious exit pages, how can I tell when a user closes his/her browser using the X button on the browser?
Thanks.
 
I need the popup only when the user closes the browser using the x button.
onUnload fires even if I click on a link to go to another page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top