一个框架刷新问题~~~~ 在left.asp中<body onLoad="parent.document.all.frames['right'].src=right.asp"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在left.asp中写parent.rithtFrameName.document.location.reload(); 你是怎么实现刷新的呢是在框架里点F5,或是右键的菜单中的刷新,还是用代码实现的呢?<FRAMESET rows="81,*"> <FRAME name="topFrame" src="topx.htm"></FRAME> <FRAMESET name="Main" cols="216,*" > <FRAME name="leftFrame" src="leftx.htm"></FRAME> <FRAME name="rightFrame" src="rightx.htm"></FRAME> </FRAMESET> </FRAMESET>1.在框架里点F5,或是右键的菜单中的刷新left.asp<body onload="top.frames['rightFrame'].location.reload()">2.代码实现的刷新left.asp<input type="button" value="刷新"onclick="top.frames['rightFrame'].location.reload();location.reload()"> 在left.asp中parent.window.rithtFrameName.location.href="right.asp" 哈哈 。谢谢各位了说清楚点吧,在一般的情况下,右边页面的数据是通过左边页面的超级连接来变化的,而左边这些超级连接都是带有参数来的比如<a href="right.asp?kind=<%=kind%>">aaa</a>而我现在出现的问题是下面的情况:我左边有一个<select name="kind" onchange="changes(this.options[this.selectedIndex].value)"></select>它是个跳转菜单,得到的参数就是kind,我现在要根据这个kind的值的不同来改变right.asp中显示的数据.function changes(kind){ var kind=kind if(kind!=""){ window.location("right.asp","","") }} 哦上面的超级连接写错了<a href="right.asp?kind=<%=kind%>" target="rightFramename">aaa</a> <input type="text" name="reload"><select name="kind" onchange="changes(this.options[this.selectedIndex].value)"><option value="1">1<option value="2">2<option value="3">3</select><script>function changes(kind){ var kind=kind if(kind!=""){ window.open("right.asp?kind="+kind,"rightFramename","") }}</script> 请教一个jQuery数据绑定的问题 jQeury实现多文件上传 随手记下的笔记 关于GET和POST的问题 请教下页面显示/隐藏部分tr出现FF下正常IE下偏慢可能是什么原因? js中的3重循环(或多重循环)怎么就那么慢啊?大家遇到过么?如何解决啊? 敬请大神帮忙看看js下拉菜单不支持ie7 超难题!如何用JS获取用户输入、后退等方式转到其它网页的Url? 如何制做菜单?(高分请教!100分!) 浏览器由急速模式变成兼容模式的时候 为什么js不好使? 请教如何用javascript编写打开,选取本机文件夹的方法 怎样直接生成table的行
parent.rithtFrameName.document.location.reload();
是在框架里点F5,或是右键的菜单中的刷新,还是用代码实现的呢?<FRAMESET rows="81,*">
<FRAME name="topFrame" src="topx.htm"></FRAME>
<FRAMESET name="Main" cols="216,*" >
<FRAME name="leftFrame" src="leftx.htm"></FRAME>
<FRAME name="rightFrame" src="rightx.htm"></FRAME>
</FRAMESET>
</FRAMESET>1.在框架里点F5,或是右键的菜单中的刷新
left.asp
<body onload="top.frames['rightFrame'].location.reload()">2.代码实现的刷新left.asp
<input type="button" value="刷新"
onclick="top.frames['rightFrame'].location.reload();location.reload()">
parent.window.rithtFrameName.location.href="right.asp"
说清楚点吧,在一般的情况下,右边页面的数据是通过左边页面的超级连接来变化的,而左边这些超级连接都是带有参数来的
比如
<a href="right.asp?kind=<%=kind%>">aaa</a>
而我现在出现的问题是下面的情况:
我左边有一个
<select name="kind" onchange="changes(this.options[this.selectedIndex].value)"></select>
它是个跳转菜单,得到的参数就是kind,我现在要根据这个kind的值的不同来改变right.asp中显示的数据.function changes(kind){
var kind=kind
if(kind!=""){
window.location("right.asp","","")
}
}
<a href="right.asp?kind=<%=kind%>" target="rightFramename">aaa</a>
<select name="kind" onchange="changes(this.options[this.selectedIndex].value)">
<option value="1">1
<option value="2">2
<option value="3">3
</select>
<script>
function changes(kind){
var kind=kind
if(kind!=""){
window.open("right.asp?kind="+kind,"rightFramename","")
}
}
</script>