S
sowencheung
I have the following code in the event onbeforeunload
if ( typeof executingPostBack != 'undefined' && !executingPostBack )
event.returnValue = ""Warning: Modified data has not been saved."";
executingPostBack is a global variable.
I have another function for another event trying to access an object as
follows:
window.location.href = targetObj.href;
everything is OK, but it raises the "unspecified error" when I click
cancel in the popup confirmation window.
anyone gets experience of this ?
thank you very much!
if ( typeof executingPostBack != 'undefined' && !executingPostBack )
event.returnValue = ""Warning: Modified data has not been saved."";
executingPostBack is a global variable.
I have another function for another event trying to access an object as
follows:
window.location.href = targetObj.href;
everything is OK, but it raises the "unspecified error" when I click
cancel in the popup confirmation window.
anyone gets experience of this ?
thank you very much!