Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Closing Browser


Message #1 by "marc cardenas" <marclena@h...> on Tue, 18 Mar 2003 16:53:24
I don't think it could be done.
As you said all unload event are fired when the page is unloaded no matters
the way used.


"marc cardenas" <marclena@h...> wrote in message
news:272262@j..._howto...
>
> Hi
> Does anyone knows how can I check if the user close the broser clicking
> the X button?
> I've been trying using onbeforeunload but the problem is that this event
> is fired even if you click a link which I've got on my page.
> Is any way to check just for the X button?
> Thanks
>
>



  Return to Index