|
-
Feb 4th, 2001, 08:37 AM
#1
Thread Starter
Hyperactive Member
How does one trap the OnUnload event of the window object. When I close a window I would like to trap the Unload event. I tried calling it in the BODY tag as shown below.
<BODY OnUnLoad="UnLoader">
However in this case the unload event is invoked when I click on the Refresh button of the web browser as well as when I close the browser. I would like to trap the event only when I close the browser. Any ideas.
-
Feb 6th, 2001, 11:46 AM
#2
would the onblur event do?
check out at http://developer.irt.org/script/window.htm, there you will certainly find the answer
good luck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|