IE中我知道用parent.函数()
但是Firefox中就不知道怎么写。。
我的父窗口中的函数function skip()//用来被iframe调用
   {
     window.location.href('Popup_test.aspx');
   }子窗口中 Label Lb_Message = new Label();
            Lb_Message.Text = ("<script language= 'javascript'>parent.skip(); </script> ");            Page.Form.Controls.Add(Lb_Message);接下来改呢

解决方案 »

  1.   

    FF不支持innerText 
    parent.frames[0].document.getElementById("").innerHTML
    parent.frames[0].document.getElementById("").textContent 
      

  2.   

    parent.函数()
    是一样的。是你的语句错导致的
    window.location.href='Popup_test.aspx';即可没有window.location.href('Popup_test.aspx');这样的写法
      

  3.   

    parent一样使用window.parent.frames[0]
    window.location.href='Popup_test.aspx';
      

  4.   

    window.open('','_blank')才需要括号
    window.location.href=''等号