js 关闭浏览器
方法一:?
top.window.opener=null;?
top.window.open("","_self");top.window.close();
方法二:?
top.window.opener = top;top.window.open('','_self','');
top.window.close();
_blank,在新窗口顯示目標(biāo)網(wǎng)頁(yè)
_self,在當(dāng)前窗口顯示目標(biāo)網(wǎng)頁(yè)
_parent,框架網(wǎng)頁(yè)中當(dāng)前整個(gè)窗口位置顯示目標(biāo)網(wǎng)頁(yè)
_top,框架網(wǎng)頁(yè)中在上部窗口中顯示目標(biāo)網(wǎng)頁(yè)?
轉(zhuǎn)載于:https://www.cnblogs.com/easypass/archive/2010/03/09/1681373.html
總結(jié)
- 上一篇: ADO.Net Entity Frame
- 下一篇: Spring.NET性能