Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
display message when close the brower window
Joined: Apr 29, 2005
Jul 07, 2005 20:23:00
whenever we close the browser window on top right corner that time we want to display teh message box like Do you want close the browser window.
iam writing like this code it is working , but it is displayed for all toolbar back,forward,refresh.
event.returnValue = 'This will close all current Application Browser Window(s)';
and call body onunloadbefore="handleonClose()";
can you please help me as soon as possible. with other alternatives.
Joined: Nov 08, 2001
Jul 07, 2005 20:29:00
onbeforeunload works, but it also fires for everything else on the page too.
There is nothing you can really do.
subject: display message when close the brower window
displaying image embedded in frame on browser
How to Destroy a Session when the user close the browser
How to catch browser close event?
destroying session when user closes browser
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013