Hi,
I'm trying to check for unsaved changes before leaving edit page.
I found a simple way to do it, but it doesn't work on IE (6 and 8). FF, Chrome and Safari are OK.
// jsOnloadEdit event
var formObj = document.editform1;
formObj.isDirty = false;
formObj.addEventListener('change', function(event) {
this.isDirty = true;
alert('Changed?: '+this.isDirty);
},true);
I noticed though that PHPRunner engine detects any change. Navigation buttons are disabled.
Is there a way to use that feature? Which functions are invoked?
Thanks in advance.