Results 1 to 2 of 2

Thread: OnUnload event

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Nov 1999
    Posts
    266
    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.

  2. #2
    Guest
    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
  •  



Click Here to Expand Forum to Full Width