johnjsforum
Programmer
Buddies,
With IE, we can return a value from an opened child window to the parent window (opener) using the statement
return window.returnValue;
My question, how can I use the same javascript methodology in non-IE browser like FireFox? FireFox does not support window.returnValue so which is the solution in FireFox?
I do not want to use a workaround for FireFox to set the returned value like:
window.opener.document.getElementById(‘myTargetObjectInOpener’).value= document.getElementById(‘myReturnedValueInOpenedWindow’).value;
Thanks in advance.
With IE, we can return a value from an opened child window to the parent window (opener) using the statement
return window.returnValue;
My question, how can I use the same javascript methodology in non-IE browser like FireFox? FireFox does not support window.returnValue so which is the solution in FireFox?
I do not want to use a workaround for FireFox to set the returned value like:
window.opener.document.getElementById(‘myTargetObjectInOpener’).value= document.getElementById(‘myReturnedValueInOpenedWindow’).value;
Thanks in advance.