一、JS实现关闭当前子窗口,刷新父窗口
JS代码如下:
<script> function refreshParent() { window.opener.location.href = window.opener.location.href; window.close(); } </script>