Link to home
Start Free TrialLog in
Avatar of daphneySG
daphneySG

asked on

Detecting events in IE

Hi!

I have a ascx webpart for my Sharepoint.
I am trying to detect users closure / navigation away from a specific page that they are viewing.

EG: If they are inputting some fields and they some how accidently click the CLOSE button in the browser, click the BACK button, or keyboard BACKSPACE, is there anyway i can catch that and prompt the user: YOU ARE NAVIGATING AWAY FROM THIS PAGE. ARE YOU SURE?

Please advice.
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Javascript Tip: Catch Browser Closing Event
http://blogs.x2line.com/al/articles/756.aspx
ASKER CERTIFIED SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial