parent.frames[n].location.reload();
n要根据框架结构来定,从0索引。给分哦!

解决方案 »

  1.   

    请问TOMCAT,以下是我的代码
    <html>
    <head><title>First Frame</title>
    </head><frameset cols="168,*" framespacing="0" rows="*" border="0" frameborder="NO"> 
      <frame name="left" scrolling="auto" target="rbottom" src="menu2-1.jsp" marginwidth="0" marginheight="0" noresize frameborder="NO">
      <frame name="rbottom" scrolling="auto" src="blank.htm" marginwidth="0" marginheight="0" noresize frameborder="NO">
    </frameset>
    <noframes></noframes></html>
    ------------------------
    blank.htm有个button,通过点击它我想刷新menu2-1.jsp,请问具体代码应该怎么写阿?
    回答了这个问题就给20分,谢谢了
      

  2.   

    如果是链接的话,就写<a href="menu2-1.jsp" target="left"><img...></a>。
    用按钮好象不支持TARGET的属性,我不知道怎么写。
      

  3.   

    <input type=button name=refreshMenu  
    onclick="javascipt:parent.frames[0].location.reload();" value="刷新Menu">
    你试一下,应该可以的!你的left frame应该是frames[0].