in IE, there is an additional method onbeforeunload, whatever string this returns is displayed in a popup wrapped in some 'built-in' text, cannot remember the text, but if its just IE, try the following
window.onbeforeunload=new Function('return \'The message I want the user to see\'');
Main Topics
Browse All Topics





by: RoonaanPosted on 2005-07-29 at 02:49:48ID: 14553121
<body onunload="return confirm('Are you sure to close the window');">
-r-