alert弹出窗口,点击确认后关闭页面 alert("点击确认后,关闭页面"); window.opener=null;window.top.open('','_self','');window.close(this);