在frame A中如何刷新frame B?

headstream headstream 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
一个页面上有两个frame:A,B。在A中有一个下拉式菜单和一个‘确定’按钮:
<form name='PulldownMenu'>
<select name='menu' size=1 style="font-size: 9pt">
<option value="tongji.jsp?report=1" target="ViewFrame">aaaaa</option>
<option value="tongji.jsp?report=2" target="ViewFrame">bbbbb</option>
<option value="tongji.jsp?report=3" target="ViewFrame">ccccc</option>
</select>
<input type="button" onClick="location.href=PulldownMenu.menu.options[PulldownMenu.menu.selectedIndex].value" value="确定" style="font-size: 9pt" name="button">
</form>
想按了‘确定’后用新的页面更新frame B(ViewFrame),用上述方法只能更新frame A(CtrlFrame),请高人指点该如何写?
谢谢

...全文
评论 2
收藏 已收藏
分享
返回顶部
headstream
Web 开发 81,108 成员 341,721 内容