23
rated 0 times
[
24]
[
1]
/ answers: 1 / hits: 33896
/ 12 Years ago, fri, february 8, 2013, 12:00:00
I have one problem, I have a javascript
function which I want to use when the browser is closed, How can I detect that a browser is being closed
?
I have made some research on that I got solution like onunload
or beforeunload
but both the functions are being executed when I am reloading the page, Is there any solution that I can differentiate reload and browser/tab close.
More From » jquery