Can anyone tell me how to fire the window.onunload event in Firefox?
My JavaScript is:
window.onunload = function () {
logout();
};
I need to logout the chat session when my application get closes.
Any alternative to jQuery is there?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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…