I am trying to get firefox to fire an event with the onbeforeunload event and it is not working:
Here is the code:
<script language="javascript">
if (window.Event) {
window.onbeforeunload = function(event) {
return busyBox.Show(event); // pass argument event block
}
} else {
window.onbeforeunload = function() {
return busyBox.Show(event); // pass IE's global event block
}
}
</script>
In IE the event fires, iframe window shows up. Firefox is a no go. Can anyone help?
-D-
Start Free Trial