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
- 下一篇: Spring.NET性能