Onbeforeunload mystery



Dave Daniels
07-09-2005, 11:05 PM
Hello,

Right now I am trying to find a way to use the onbeforeunload event that
many have explored. When the message pops up to the user, I could care less
if they press the "OK" button and that goes without saying really. I do
however need to find a way to capture if they pressed the cancel button on
that dialog. I know there has to be a way to do this I just have not found
one yet.

Any ideas?

Peter Foldes
07-09-2005, 11:05 PM
What language or language structure are you employing here. Can you rephrase
or re-write your issue in layman's terms. I have no idea what you are
talking about.

--
Peter

Please reply to newsgroup for the benefit of others.
Please do not send email unless invited to do so
"Dave Daniels" <d.daniels@smmj.com> wrote in message
news:6qh8pcoywstg$.1en0vlrgtnzop$.dlg@40tude.net...
> Hello,
>
> Right now I am trying to find a way to use the onbeforeunload event that
> many have explored. When the message pops up to the user, I could care
> less
> if they press the "OK" button and that goes without saying really. I do
> however need to find a way to capture if they pressed the cancel button on
> that dialog. I know there has to be a way to do this I just have not found
> one yet.
>
> Any ideas?

Robert Aldwinckle
07-09-2005, 11:05 PM
"Dave Daniels" <d.daniels@smmj.com> wrote in message
news:6qh8pcoywstg$.1en0vlrgtnzop$.dlg@40tude.net...
> Hello,
>
> Right now I am trying to find a way to use the onbeforeunload event that
> many have explored. When the message pops up to the user, I could care less
> if they press the "OK" button and that goes without saying really. I do
> however need to find a way to capture if they pressed the cancel button on
> that dialog. I know there has to be a way to do this I just have not found
> one yet.
>
> Any ideas?


Try another newsgroup? ;)

This newsgroup is frequented mostly by end-users discussing UI
and error recovery issues. For coding issues I would try one of the
MSDN newsgroups which specialize in web development or scripting.

http://msdn.microsoft.com/newsgroups/


---


Onbeforeunload mystery