Maybe onbeforeunload will do it for you.
http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onbefor
eunload.asp
Doug
-----Original Message-----
From: Terence Gilbert [mailto:terenceg_2000@y...]
Sent: Saturday, February 02, 2002 4:25 PM
To: JavaScript HowTo
Subject: [javascript_howto] RE: How to stop a webpage from unloading
Thanks Nitin,
That example will definitely help me. I will look into maybe trying to
use the onClick, or similar, event to try and trap the navigation
buttons being clicked.
Thanks again
Terence
---
Change your mail options at http://p2p.wrox.com/manager.asp or to
unsubscribe send a blank email to
$subst('Email.Unsub').