❶ js刷新父窗口的父窗口
parent.parent.location.reload();
或
parent.parent.location.href='爷爷窗口地址';
❷ js如何刷新父页面
用iframe、弹出子页面刷新父页面iframe<script language=JavaScript> parent.location.reload(); </script>弹出子页面<script language=JavaScript> window.opener.location.reload(); </script>子窗口刷新父窗口<script language=JavaScript> </script>在内framset框架中A窗口调用容B窗口的JS方法:一般方法调用: A窗口中:window.parent.frames["result"].dialog_waiting.open("正在查询数据");//锁屏效果; 说明:其中result是指B窗口所在fram的name属性,dialog_waiting.open("正在查询数据")为B窗口中的JS方法。 A窗口刷新B窗口:window.parent.frames["result"].location.reload();
❸ js 关闭子窗体时如何刷新父窗体
在父窗体里边写上一个脚本
<script>
function reflash()
{
window.location.href=window.location.href;
}
</script>
在关闭子窗体的脚本写
Response.Write("<script>window.close();window.opener.reflash();window.opener=null;</script>");
之前我就这么做过的,可能脚本的某个地方写错了,你需要测试一下。
❹ JS弹窗提交关闭后,刷新父页面 在线等 急!!!
可在在父窗口加一个方法,然后在弹窗关闭时调用这个方法!
父窗口方法:内容
function ReloadPage(){
location.reload();
}
弹窗关闭时调用方法:
opener.ReloadPage();
❺ iframe中的js如何刷新父窗口中div元素
为什么要用2个iframe。。还要用1个iframe来控制另外1个iframe。。这样就算成功也会很卡吧。。。。
jsp我记得有专个include你可以尝试属下。。。。
静态页面中如果是ifame的内容要控制父级元素有1个方法,在前面加parent就可以了。onclick="parent.xx()"。。
windows.parent.xxxxx这个我已经不能理解了-。-~~
能帮到1点是1点吧。。。。。