Silas2
asked on
Internet Explorer closing event -catching in JavaScript
Is there a way of catching a form_unload a type of event for Internet Explorer, with a cancel= true type of parameter?
I mean when a form/IE is exiting without saving, it gives you a chance to ask the user to confirm " Exit without saving?"
I mean when a form/IE is exiting without saving, it gives you a chance to ask the user to confirm " Exit without saving?"
window.onclose?
Nope. onClose does not exist.
You are looking for
<body onBeforeUnload="returnValu e='Please don\'t go'">
You are looking for
<body onBeforeUnload="returnValu
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.