;;;The onUnload event is not triggered when the child window is closed using the 'X' button on the right hand top corner of the window.
It should, and does for me regardless if I use Alt+F4 or the red cross, using:
<script>
function testFunction()
{
alert("some text");
}
</script>
<body onunload="testFunction();">
does the code above work for you? If not, what browser etc are you using?
Wind is your friend
Matt
|