您的位置:首页 > 其它

在A窗口中打开B窗口,在B窗口中操作完以后关闭B窗口,同时自动刷新A窗口

2012-01-31 10:09 357 查看
function closeWin()
{
hasClosed = true;
window.opener.location="javascript:reloadPage();";
window.opener=null;
window.close();
}
function reloadPage()
{
history.go(0);
document.execCommand("refresh")
document.location = document.location;
document.location.reload();
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐