Thanks Karl. I can see the potential issues with providing a hook at
the point a user tries to leave a page. I will try your other
suggestion though. Thanks.
On 10 Nov, 01:22, "Karl Rudd" <[EMAIL PROTECTED]> wrote:
> Unfortunately you have to use the "built in" window.onbeforeunload method.
>
> Y
Unfortunately you have to use the "built in" window.onbeforeunload method.
Yes it does look like crap but it's the standard box and if the
browsers allowed you to just do anything when someone tried to close a
window it would be more of a security risk (think uncloseable
windows).
The only time
The onbeforeunload event is a very unusual one, in my experience it's
not a "real" event. It's more like a callback (or is that a call-in),
used by the browser to get a custom "Do you really want to leave?"
string. Just use the windows.onbeforeunload = method, it works.
Karl Rudd
On Wed, Ma
Why not just use the working javascript method of doing so?
and if you are new to the event, it's a very tricky-to-implement event
with little to no customization of what you can do with it
4 matches
Mail list logo