On Tue, 31 Aug 2004 16:54:37 +1200, Jasper Bryant-Greene
<ja**@fatalnetwork.com> wrote:
Nithya Venkatachalam wrote:
[trying to stop unload]
I have a distinct feeling of déjà vu here. Oh yes. That's because you
already posted this question (twice).
Ignoring the fact that this is a very bad idea and an easy way to piss
users off, have you tried simply making unloadhandler() return FALSE?
That won't work. The unload event can't be cancelled (thank goodness).
Besides, my browser doesn't fire the event at all when I close a tab, or
the browser itself. Trying to rely on this approach is a very bad idea.
Randy Webb does propose another approach in the original incarnation of
this thread (posted yesterday), which will work in IE and Mozilla.
Mike
--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.