当前位置:编程学习 > C#/ASP.NET >>

高手进,跪等回复。一个棘手的问题


vb或者js脚本关闭浏览器,或者关闭浏览器当前浏览的页面。
<注意:当前页面是采用框架设计的,使用window.close()并不能关闭!>
坐等回复。 --------------------编程问答-------------------- if(window!=window.top)
{top.location.href=location.href;} 
window.top.close();  --------------------编程问答--------------------
引用 1 楼 gongsun 的回复:
if(window!=window.top)
{top.location.href=location.href;} 
window.top.close();

up --------------------编程问答-------------------- 结帖率:0.00% --------------------编程问答-------------------- 结帖率:0.00% --------------------编程问答-------------------- opener.window=null;
winwow.top.close(); --------------------编程问答--------------------
引用 1 楼 gongsun 的回复:
if(window!=window.top)
{top.location.href=location.href;} 
window.top.close();


++
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,