Y
Yashwant
Dear Netscape/Javascript/Java gurus,
I am trying to submit a form onUnLoad when the user accidentally
closes the browser before clicking on a link to complete the
transaction.
On IE, this works fine.
But on Netscape or Mozzilla browsers, the form would simply not submit
when
the browser is closed.
here is the code.
<script language="JavaScript">
function CheckWindowClosed() {
document.MyForm.submit();
}
</script>
<body onLoad="FunctionHandler();" onUnload="CheckWindowClosed();">
Kindly let me know if there is any workaround or fix where I can get
this working on Netscape.
Thanks and Regards,
Yash
I am trying to submit a form onUnLoad when the user accidentally
closes the browser before clicking on a link to complete the
transaction.
On IE, this works fine.
But on Netscape or Mozzilla browsers, the form would simply not submit
when
the browser is closed.
here is the code.
<script language="JavaScript">
function CheckWindowClosed() {
document.MyForm.submit();
}
</script>
<body onLoad="FunctionHandler();" onUnload="CheckWindowClosed();">
Kindly let me know if there is any workaround or fix where I can get
this working on Netscape.
Thanks and Regards,
Yash