Hi,
I want as soon as user try to close the window i want to display an confirm message if user Click Ok then browser will be closed and if cancel it will not.
Can anybody help me out on this.
Thanks for Advance,
Regards,
Prince
Please take the time to choose an appropriate forum for your posts. This forum is for questions on JSP. For more information, please click this link ⇒ CarefullyChooseOneForum.
This post has been moved to a more appropriate forum.
But when I try to compose an email in gmail, and try to close my firefox tab, even before the email is sent, GMail warns me "Do you want to close the browser tab? Your message has not been sent. Ok/cancel".
May I know how is that possible with Javascript.