This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes onBeforeUnload event with popup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "onBeforeUnload event with popup" Watch "onBeforeUnload event with popup" New topic

onBeforeUnload event with popup

Allok Srivastava

Joined: Mar 30, 2008
Posts: 3

I have a button, which will open one popup and at the same time onBeforeUnload event is fired.
I want to do some work, whenever onBeforeUnload event is fired, except for the popup window.

How can i do this.

Any help is highly appreciated.

I agree. Here's the link:
subject: onBeforeUnload event with popup
Similar Threads
Using onUnload
getting the name of a menu item's parent menu
how to cancel the unload event in a jsp
need to differentiate between the window closing an window refreshing
Change default java script onbeforeunload confirm message box on jsp