1.代码如下:
<a href="javascript:window.opener=null;window.close()">
2.关闭弹出窗口后,父窗口自动刷新: 当关闭的时候写self.opener.location.reload(); 然后再window.close()