我的框架leftframe ,mainframe,在leftframe里点击一个button之后,我希望可以刷新一下mainframe的页面,不知道该怎么做
谢谢 !!
------解决方案--------------------------------------------------------
<input type=button onclick= "parent.mainFrame.location.reload() "/>
或者
<input type=button onclick= "parent.mainFrame.location.href=parent.mainFrame.location.href "/>
------解决方案--------------------------------------------------------
那个是框架左边src的问题...
比如左边框架和右边框架..
点击左边框架的连接或者按钮...
<a href= "1.aspx " target= "mainFrame ">
<frameset>
<frame src= "a.asp " name= "leftFrame " scrolling= "NO " noresize>
<frame src= "b.asp " name= "mainFrame ">
</frameset>