Can anyone tell me how to fire the window.onunload event in Firefox ?
My Java Script is ,
window.onunload = function () {
logout();
};
I need to logout the chat session when my application get closes.
Any alternative Jquery is there ?
Can anyone tell me how to fire the window.onunload event in Firefox ?
My Java Script is ,
window.onunload = function () {
logout();
};
I need to logout the chat session when my application get closes.
Any alternative Jquery is there ?
Thanks for Jan Hančič.
I got the solution for onunload in firefox by changing the asynchronous in to synchronous call request.
And its worked well...