js如何刷新父页面

JavaScript010

js如何刷新父页面,第1张

用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()

浮层内嵌iframe及frame集合窗口,刷新父页面的多种方法Js代码 �0�2�0�2 �0�2�0�2�0�2parent.location.reload()�0�2�0�2 �0�2�0�2 parent.location.reload()弹出子页面Js代码 �0�2�0�2 �0�2�0�2�0�2window.opener.location.reload()�0�2�0�2 �0�2�0�2 window.opener.location.reload()�0�2子窗口刷新父窗口Js代码 �0�2�0�2 �0�2�0�2�0�2self.opener.location.reload()�0�2�0�2 �0�2�0�2 self.opener.location.reload()�0�2刷新以open()方法打开的窗口Js代码 �0�2�0�2 �0�2�0�2�0�2�0�2�0�2window.opener.location.href=window.opener.location.href�0�2�0�2 �0�2�0�2 window.opener.location.href=window.opener.location.href�0�2刷新以winodw.showModelDialog()方法打开的窗口Java代码 �0�2�0�2 �0�2�0�2�0�2�0�2window.parent.dialogArguments.document.execCommand('Refresh' )�0�2�0�2