[jQuery] How to detect the browser close event using Jquery ?
Hi all,
I'm having troubles trying to detect the browser close event. (in FF
or IE)
To do this I'm using these events: "unload" and "beforeunload", but
both are more or less the same, I mean, when I refresh the page or
navigate away thru some link, these events catch the same action, but
I just need to catch the browser close event, no the page refresh, no
the click thru, just the browser close...
Anybody had the same problem ?
Thanks all in advance!,
Juan Manuel