The following code fires for my PC (MS IE 5.0), but doesn't function for the Mac. Any ideas on what I can do?
<SCRIPT LANGUAGE="javascript">
var submitted;
submitted = false;
function window.onbeforeunload() {
if (submitted == false) {
return "If you leave, changes will not be saved.";
}
}
</SCRIPT><
<SCRIPT LANGUAGE="javascript">
var submitted;
submitted = false;
function window.onbeforeunload() {
if (submitted == false) {
return "If you leave, changes will not be saved.";
}
}
</SCRIPT><