How can we fire unload event using javascript?

Discussion in 'JavaScript' started by tanyania, Jul 7, 2011.

  1. #1
    Hi Guys,

    I want to know that how can we fire unload event of body tag using javascript and I want to it for safari browser.I goole this many times but I am not getting the right.I know this is a very simple question for many users but I am a begginer of javascript.

    Thanks in Advance!
     
    tanyania, Jul 7, 2011 IP
  2. DmitryS

    DmitryS Active Member

    Messages:
    79
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    please try below example

     
    DmitryS, Jul 8, 2011 IP
  3. tolas

    tolas Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    not sure if that's even possible.

     
    tolas, Jul 9, 2011 IP