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!

Detecting when the refresh button is pressed on the browser?

Status
Not open for further replies.

jwendel

Programmer
Jul 18, 2002
1
US
I have an application that can have mulitple windows open. I want to detect whether the last window is open, and show a message to the user if he closes it. The problem is that I want to detect whether the user presses the refresh button on the browser (IE,NN), and/or accesses a page from their favorites list. Any suggestions.


Jeremy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top