Jump to content

How to identify the browser close event(urgent)


rao

Recommended Posts

I need to ask user before closing the browser if they are sure to do that.I mean i don't want to use onbeforeunload or onunload as they can navigate between pages on a window. I want to ask when they are closing the cross on the IE.Is there any such event handler.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...