关闭了opener对象就不存在了啊。还怎么解决?

解决方案 »

  1.   

    在第二个窗口这样写:
    var tempWin = window.open("ThirdWin.htm");
    tempWin.opener = window.opener;
    那么,在第三个窗口中,window.opener就表示第一个窗口了。
      

  2.   

    if the three pages are in the same domain, try to name the opened window, say1.html:
    window.name = "name1";
    window("2.html","name2");2.html:
    window("3.html","name3");3.html:
    var win=window("","name1");
    alert(win.document.body.html);
      

  3.   

    第一个窗体在第三个连续打开的窗体中表示为opener.opner;
    不知道你这样做是为了什么,但是我想可以使用IFrame解决问题,传递值结束时只需要把<iframe id=asd...>的outerHTML负值为''