I'm having some issues with catching a browser exit with firefox. I
can get it to work with IE (not exactly how I'd like, but it works).
Does anyone have a good working example available...here is my code if
you can help from that.
Thanks
Greg
My javascript looks like this:
script
There have been past threads on this, and no perfect solution.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of gjessup1
Sent: Wednesday, July 30, 2008 11:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Catch Browser Exit
Here is a script that works on most OS/Browsers... Drop in and enjoy!
if ( window.Event ) {window.onbeforeunload = function( event
) {return confirmClose( event );}}
else {window.onbeforeunload = function() {
return confirmClose(
Sorry for the mess on the last send... Whew! Here is a script that works on
most OS/Browsers... Drop in and enjoy!
if ( window.Event ) {
window.onbeforeunload = function( event ) {
return confirmClose( event );
}
}
else {
4 matches
Mail list logo