="javascript:window.parent.location.reload();"/你要达到什么效果,这个和提交冲突,,可能在请求发出前页面就刷没了,请求自然发布出去
先把这个全页面刷新去掉,想刷哪里就指定好了,可以window.parent.frames[index].location.reload() 刷新指定的frame
先把这个全页面刷新去掉,想刷哪里就指定好了,可以window.parent.frames[index].location.reload() 刷新指定的frame
解决方案 »
- Ext GridPanel问题请教
- 这种理解对吗:javascript太灵活了,这是与别的编程语言最大的不同
- 一个小问题,请兄弟各位进来帮忙解决下。
- 有没有办法得到一个汉字的拼音?
- 关于bgsound的问题,听不到声音
- 用javascript编写的页面刷新问题!??急急急!
- 如何将word文档的内容导入到html页面中
- “每逢佳节倍思亲”,中秋佳节,和朋友们共欢
- document.getElementById(divID).style.left IE可以而谷歌不行
- jQuery ligerUI V1.2.5 获取表单数据
- JS小问题,速度结贴!
- <select>标签选择提示错误后,如何返回原来的那个选择项?
<td width="71" align="left" valign="top"><input type="image" name="imageField" src="images/20.jpg" onclick="javascript:window.parent.frames['right'].location.reload();"/></td>
同时刷新多个 frames
<td width="71" align="left" valign="top"><input type="image" name="imageField" src="images/20.jpg" onclick="refreshFrames()"/></td><script>
function refreshFrames(){
window.parent.frames['right'].location.reload();
window.parent.frames['left'].location.reload(); }
</script>