I have an open window that opens a new window when the user clicks on a button. So far, so good.
In the newly opened window, if the user should select an option, I need to reference the first window using window.opener. This is my code:
<!--
function Resubmit(){
window.opener.rpt_criteria.action="rpt_results_time.asp?method=export";
window.opener.rpt_criteria.submit();
MyReset();
}
// -->
This works fine on Windows98 using IE 5.5, but when the same process is done on a Win2k machine running IE 5.0, this function fails with a javascript error stating:
window.opener.rpt_criteria is not an object.
Can anyone help me??????? I am at a complete loss.
Thanks.
In the newly opened window, if the user should select an option, I need to reference the first window using window.opener. This is my code:
<!--
function Resubmit(){
window.opener.rpt_criteria.action="rpt_results_time.asp?method=export";
window.opener.rpt_criteria.submit();
MyReset();
}
// -->
This works fine on Windows98 using IE 5.5, but when the same process is done on a Win2k machine running IE 5.0, this function fails with a javascript error stating:
window.opener.rpt_criteria is not an object.
Can anyone help me??????? I am at a complete loss.
Thanks.