Response.Write("<script language='javascript'>alert(window.opener.location.pathname); if(window.opener.location.pathname.toString() == \"/page.aspx\"){window.opener.document.forms[0].submit();}</script>");
While this code works in Chrome, I encountered a JavaScript runtime error in Internet Explorer indicating that 'location' is null. It appears to be related to the use of 'opener'.
Is there an equivalent solution for this issue in IE?