我也在找同一个问题的答案~~~关注ING...

解决方案 »

  1.   

    window.opener.location.href = "aa.asp";  //子窗口是用window.open打开的
    window.parent.location.href = "aa.asp";  //子窗口是父框架网页的子帧
      

  2.   

    不行,还是在新页面中打开了
    我的子窗口是父窗口中用window.showModelessDialog打开的,现在在子窗口中用 window.parent.location.href = "aa.asp";  打开页面,是打开了一个新窗口,并没有在父窗口中打开
      

  3.   

    你是用非模态框打开的子网页呀. 告诉你, 这不太好做, 要做的话方法是有, 比较麻烦点:
    showModelessDialog('ttt.htm', window,'dialogWidth: 480px; dialogHeight: 360px; status: no; help: no');
    注意, 第二个参数是 windowttt.htm:
    if (window.dialogArguments != null)
       var pw = window.dialogArguments;
    functoin mm()
    {
      pw.location.href = "aa.asp";
      window.close();
    }
      

  4.   

    <script language="javascript">
    function wopen(aa){
     aa.parent.location="b.asp";
    }
    </script>在子页面的一个链接或按钮等上面,加上这点代码:onClick="javascript:wopen(this);"
    b.asp为父页面要打开的页面。
    aa.parent代表aa的父页面。试试看。
      

  5.   

    试试,我的成功了,哈哈
    window.setInterval("location='ww.asp'");
      

  6.   

    window.open("http://office.9zp.com","_parent");
    window.open("http://office.9zp.com","_top");
      

  7.   

    opener.window.open("http://www.s0754.com");
      

  8.   

    window.opener.window.open("youUrl.jsp");