js 子窗口关闭并且刷新父窗口
在子窗口中加入代码:
<body onLoad="refreshParent()">
......
</body>
<script language="javascript">
function refreshParent(){
window.opener.location.href = window.opener.location.href;
if (window.opener.progressWindow)
window.opener.progressWindow.close();
alert("保存成功");
window.close();
}
</script>