I remember a discussion on this a while back but can't find it in the
archive, on Google or in my mail box.

Did we every come up with a way of setting onClose or onUnload after the
<body> tag? The head of the document is shared across the whole site so
if possible I don't want to fiddle with that to set an onClose event
handler so it would be very nice if I could just set it in Javascript.

I have tried variations of the following:

window.onCLose= "alert('closing')";
document.onCLose= "alert('closing')"; 
body.onCLose= "alert('closing')"; 
document.body.onCLose= "alert('closing')";

none of which work.

Thanks

Giles Roadnight
http://giles.roadnight.name


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to