JS实现关闭当前子窗口,刷新父窗口…
2017-04-08 08:29
441 查看
JS代码如下:
<script>
function refreshParent() {
window.opener.location.href
= window.opener.location.href;
window.close();
}
</script>
html页面代码如下:
<input
type="button" id="btn1" class="btn" value="同意" disabled=true
onclick="refreshParent()"
/>
原文地址:http://blog.sina.com.cn/s/blog_4a0c5a940100vza1.html
<script>
function refreshParent() {
window.opener.location.href
= window.opener.location.href;
window.close();
}
</script>
html页面代码如下:
<input
type="button" id="btn1" class="btn" value="同意" disabled=true
onclick="refreshParent()"
/>
原文地址:http://blog.sina.com.cn/s/blog_4a0c5a940100vza1.html
相关文章推荐
- JS实现关闭当前子窗口,刷新父窗口的问题
- JS实现关闭当前子窗口,刷新父窗口及调用父窗口的方法
- JS实现关闭当前子窗口,刷新父窗口及调用父窗口的方法
- JS实现关闭当前子窗口,刷新父窗口及调用父窗口的方法
- JS实现关闭当前子窗口,刷新父窗口
- JS实现关闭当前子窗口,刷新父窗口
- 怎样用JS实现关闭当前窗口
- 怎样用JS实现关闭当前窗口
- JS关闭窗口弹出新窗口,关闭新窗口时,刷新父窗口,JS代码实现刷新网页,js实现弹出窗口代码收集集萃
- 用JS实现关闭当前窗口【兼容谷歌浏览器】
- JS实现关闭当前窗口(一句搞定ie&firefox)
- 怎样用JS实现关闭当前窗口
- js window.open()实现打印,如何在关闭打印窗口时刷新父窗口
- flex 中如何用AS 调用 JS 实现关闭当前窗口
- JS 实现关闭当前页模态框并刷新当前页
- 怎样用JS实现关闭当前窗口
- 用JS实现关闭当前窗口不弹出对话框
- 集中刷新父窗口,关闭子窗口的JS(后台)
- window.showModalDialog 弹出窗口,关闭子窗,刷新父窗,在 .CS 中的实现
- 一个frameset框架的页面,关闭窗口调用js的实现