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

On closing window

Status
Not open for further replies.

nc3b

Programmer
Joined
Aug 14, 2005
Messages
5
Location
RO
Hello. Can you tell me how can I call a function when the user closes the window/tab?
 
Yup. But it also triggers the function when the user moves to another page.
 
Then you're probably out of luck, unless you can find some browser-specific techniques (so you'd need one for Safari, one for Firefox, one for IE 7...).

Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Thank you. Please PM me if you ever find anything
 
There is no PM feature on TT

-kaht

[small](All puppies have now found loving homes, thanks for all who showed interest)[/small]
 
Ok :)))) Than email it ;)
 
Email addresses are not given out on TT [smile]

-kaht

[small](All puppies have now found loving homes, thanks for all who showed interest)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top