Javascript刷新父页面并关闭子页面

 
<script language="javascript">
window.opener.opener = null;
window.opener.location.replace(window.opener.location.href);
window.close();
</script>

 

你可能感兴趣的:(JavaScript)