C.html中用js代码实现A.html的刷新:window.opener.main.location.reload()
       ^父窗体 ^main框

解决方案 »

  1.   

    C.html中用js代码实现A.html的刷新:
    opener.parent.top.main.location.reload()
      

  2.   

    谢谢了~   
        再请教一下 anita2li(hehe...) :  能不能具体解释一下opener.parent.top.main.location.reload()每一个符号的意思?另外 par(贪 嗔 痴 妄 慢 ---吾知道) 大侠给的代码有一点问题:将window.opener.main.location.reload()改成window.opener.top.main.location.reload()就行了!!能不能也解释一下呢?
    另外self.opener.location.reload();也好使!!我主要是不太明白opener的意思 希望各位大侠帮忙! 谢谢!
      

  3.   

    opener表示打开自己的窗体,即自己的父窗体
      

  4.   

    请问 007james(苏乞儿)兄:::::那它和parent又有什么不同呢?
      

  5.   

    parent,opener都是WINDOW对象
    parent:父窗口的一个引用
    opener:打开该窗口的引用