Capture Close Event

Discussion in 'PHP' started by chxxangie, Dec 3, 2007.

  1. #1
    when user press on X close button to close the current browser window, then pop up a msgbox.
    but how to capture the close event?
    i try unload in HTML, but is wrong... :(
    please help me...thanks........
     
    chxxangie, Dec 3, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    nico_swd, Dec 3, 2007 IP