日期:2014-05-16  浏览次数:20367 次

iframe 怎么去刷新 top 下面的一个窗口
这个是我的总框架
<frameset   rows= "85,*,18 "   cols= "* "   frameborder= "NO "   border= "0 "   framespacing= "0 ">
    <frame   src= "top.jsp "   name= "top "   scrolling= "no "     noresize   >
    <frameset   cols= "120,10,* "   framespacing= "0 "   frameborder= "no "   border= "0 "   name= "leftframe "   >
        <frame   src= "left.jsp "   name= "left "   scrolling= "no "   id= "left "   noresize   MARGINWIDTH=0   MARGINHEIGHT=0>
<frame   src= "menuctrl.jsp "   name= "button "   scrolling= "no "   id= "button "   noresize>
        <frame   src= "main.jsp "   name= "main "   scrolling= "auto "   noresize>
    </frameset>
    <frame   src= "base.jsp "   name= "base "   scrolling= "no "   noresize>
</frameset>


这个是base.jsp   中的iframe
<iframe       name= "daohang "   src= "dh.jsp "       width= "0 "   height= "0 "> </iframe>


希望在dh.jsp中有段代码能够刷新main.jsp     请问要怎么实现

------解决方案--------------------
top.frames[ "main "].location.reload()