How to catch someone leaving the page?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Joost_Schouten
Posted On:   Monday, April 28, 2003 07:52 AM

I have an app set up whith about 5 includes per page . There is one page where I want to warn a user if he/she hasn't saved the newly generated text. However, when they leave the page by using a link from one of the includes, I can't provide the pop up.


Is there some sort of listner out there which gets notified when the browser is about to request a new page?


Regards,

Joost

Re: How to catch someone leaving the page?

Posted By:   Christopher_Koenigsberg  
Posted On:   Monday, April 28, 2003 08:02 AM

Inside the browser, maybe. But I doubt whether you would have access to it programmatically, or that would be a horrible security problem (e.g. maybe Microsoft lets you do it, from ActiveX :-).

About | Sitemap | Contact