The following works fine in NN but not in IE. Any ideas? IE gets to the submit() line but seems to ignore it.
function CheckSave(){
if (NotSaved){
if (confirm("Do you wish to save your notes first?") {
NotSaved = 0;
document.notes.submit();
return false;
}
else return false;
}
}
//-->
</script>
</head>
<body onUnload="return CheckSave()" bgcolor="#FFFFCC">
function CheckSave(){
if (NotSaved){
if (confirm("Do you wish to save your notes first?") {
NotSaved = 0;
document.notes.submit();
return false;
}
else return false;
}
}
//-->
</script>
</head>
<body onUnload="return CheckSave()" bgcolor="#FFFFCC">