关闭当前页面,刷新另一个窗口页面,刷新的为关闭的前一个窗口
<script type="text/javascript">
$("#return").click(function(){window.close();
//刷新
window.opener.location.reload();
});
</script>
关闭页面(可作为一种退出设置)
<a href="javascript:window.opener=null;window.open('','_self');window.close();" class="navbar-brand" style="float: right;"> <small> 退出
</small>
</a>