learner
08-13-2002, 08:55 AM
Hi,
In the Unload event of body, I am trying to call a function. It is working fine in IE. The same is not working in Netscape when the browser is closed.
Code:
<html>
<head>
<script>
function test()
{
alert("Called");
}
</script>
</head>
<body onUnLoad="javascript:test()">
Test
</body>
</html>
Is there any other way to do a task when the browser is closed in Netscape.
Thanks...
In the Unload event of body, I am trying to call a function. It is working fine in IE. The same is not working in Netscape when the browser is closed.
Code:
<html>
<head>
<script>
function test()
{
alert("Called");
}
</script>
</head>
<body onUnLoad="javascript:test()">
Test
</body>
</html>
Is there any other way to do a task when the browser is closed in Netscape.
Thanks...