T
Tim Arview
Hi,
I'm trying to create an exit popup that doesn't require anything added
to the body tag. In other words, I don't want to say <body
onunload="foo">. I just want to have window.onunload="foo" in the
<script> tag.
However, when I do that, it launches foo as soon as the page loads and
does NOT launch when the page is unloaded.
Why is this? And is there a way to accomplish what I'm trying to do?
This is a high priority project, so I really need it fixed ASAP.
Thanks for any help you can give me.
I'm trying to create an exit popup that doesn't require anything added
to the body tag. In other words, I don't want to say <body
onunload="foo">. I just want to have window.onunload="foo" in the
<script> tag.
However, when I do that, it launches foo as soon as the page loads and
does NOT launch when the page is unloaded.
Why is this? And is there a way to accomplish what I'm trying to do?
This is a high priority project, so I really need it fixed ASAP.
Thanks for any help you can give me.