如何通过按下子帧中的按钮实现父帧的刷新 parent.frames[n].location.reload();n要根据框架结构来定,从0索引。给分哦! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 请问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分,谢谢了 如果是链接的话,就写<a href="menu2-1.jsp" target="left"><img...></a>。用按钮好象不支持TARGET的属性,我不知道怎么写。 <input type=button name=refreshMenu onclick="javascipt:parent.frames[0].location.reload();" value="刷新Menu">你试一下,应该可以的!你的left frame应该是frames[0]. 在子页面关闭时刷新父页面的问题,用到了弹窗控件 用jsquey怎么取得 该值? 二级选择的代码,请问那里错了, 一个验证邮箱的js函数 JS代码求助(在线等) prototype的使用 怎样在父页面中控制子页面失焦和得焦 怎样去掉菜单栏,工具条,地址栏? IE5与IE6支持不同版本的JS,怎么办啊?天哪! 关于在线阅读PDF文件 . 求大神,前辈指导 。 如何改写cookie,用document.cookie=""清不掉cookie的内容? 谢谢孟子兄,还有问题。。。
<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分,谢谢了
用按钮好象不支持TARGET的属性,我不知道怎么写。
onclick="javascipt:parent.frames[0].location.reload();" value="刷新Menu">
你试一下,应该可以的!你的left frame应该是frames[0].