Browser Tab Close Event

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • baburk
    New Member
    • Oct 2006
    • 111

    Browser Tab Close Event

    Hi,

    I wants to capture browser tab close event?

    I got for window close event.

    [CODE=javascript] if((window.even t.clientX<0) || (window.event.c lientY<0))
    {

    }[/CODE]

    This not working for Browser Tab Close.

    Anybody help me for tab close event.

    Thanks in Advance
    Last edited by gits; Mar 28 '08, 04:22 PM. Reason: added code tags
  • pronerd
    Recognized Expert Contributor
    • Nov 2006
    • 392

    #2
    You may want to consider googleing for and reviewing standard forum posting rules. Posts like these are not likely to get much of a response. Responses can only be as helpful as the details provided. Just saying it does not work does not tell us much. What happens? Do you get an error? If so what? What debugging have you tried?

    Also incomplete code snipits leaves a lot of useful details. Where are you capturing the onClose event from? Also since there is no code inside the IF test how do you know it is never triggering?

    Originally posted by baburk
    if((window.even t.clientX<0) || (window.event.c lientY<0))
    {

    }

    Comment

    Working...