I am trying to pass values out of one form to use in another, and I'm receiving the following error:
Error: uncaught exception: Permission denied to get property Window.scriptglobals
The function that is doing the work is:
<script language="JavaScript">
<!--
// Additional Function to upload form data to previous page.
function uploadFormData(){
str = parent.str;
cty = parent.cty;
ste = parent.ste;
zip = parent.zip;
dp1 = parent.dp1;
dp2 = parent.dp2;
dp3 = parent.dp3;
ep1 = parent.ep1;
ep2 = parent.ep2;
ep3 = parent.ep3;
email = parent.eMail;
if ( window.top.name == "distLrnPopUp" ){
window.top.opener.getFormFields(str, cty, ste, zip, dp1, dp2, dp2, ep1, ep2, ep3, email);
}
window.top.close()
}
//-->
</script>
The form that this code is on is in HTTPS, but works great in Netscape 4.7 - it's all the rest of the browsers that are giving me fits.
Any suggestions appreciated,
Stephen
Error: uncaught exception: Permission denied to get property Window.scriptglobals
The function that is doing the work is:
<script language="JavaScript">
<!--
// Additional Function to upload form data to previous page.
function uploadFormData(){
str = parent.str;
cty = parent.cty;
ste = parent.ste;
zip = parent.zip;
dp1 = parent.dp1;
dp2 = parent.dp2;
dp3 = parent.dp3;
ep1 = parent.ep1;
ep2 = parent.ep2;
ep3 = parent.ep3;
email = parent.eMail;
if ( window.top.name == "distLrnPopUp" ){
window.top.opener.getFormFields(str, cty, ste, zip, dp1, dp2, dp2, ep1, ep2, ep3, email);
}
window.top.close()
}
//-->
</script>
The form that this code is on is in HTTPS, but works great in Netscape 4.7 - it's all the rest of the browsers that are giving me fits.
Any suggestions appreciated,
Stephen