js 关闭浏览器
方法一:
top.window.opener=null;
top.window.open("","_self");top.window.close();
方法二:
top.window.opener = top;top.window.open('','_self','');
top.window.close();
_blank,在新窗口显示目标网页
_self,在当前窗口显示目标网页
_parent,框架网页中当前整个窗口位置显示目标网页
_top,框架网页中在上部窗口中显示目标网页
转载于:https://www.cnblogs.com/easypass/archive/2010/03/09/1681373.html
总结
- 上一篇: ADO.Net Entity Frame
- 下一篇: EDM HTML编写建议和规范