//子窗口
if(window.opener)
{
   window.opener.location="xxx.asp?sStr=11";
}
window.close();

解决方案 »

  1.   

    // 子窗口if(window.opener)
    {
       window.opener.location="xxx.asp?str=111" ;  //重定位
    }
    window.close();
      

  2.   

    try
    {
      if (!window.opener.closed)
         window.opener.location.href = "....";
    }
    catch (ex)
    {}
      

  3.   

    window.opener.focus();or window.blur();
      

  4.   

    use showModalDialog to open your child window
      

  5.   

    window.showModalDialog("YourPage.htm","Dialog Arguments Value","dialogHeight: 360px; dialogWidth: 705px; dialogTop: 310px; dialogLeft: 114px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status: Yes;");
      

  6.   

    用这个方法打开的窗口为什么不能传递session?我用这个窗口提交表单怎么是新打开了一个窗口》