当前位置: 代码迷 >> ASP.NET >> ,iframe有关问题
  详细解决方案

,iframe有关问题

热度:7262   发布时间:2013-02-25 00:00:00.0
在线等,iframe问题
我有一个页面
左边是iframe我要如何才能使得单击iframe里面的退出按钮时关闭页面,打开新窗口
我用Response.Write("<script>window.close();window.opener=null;window.open('login.aspx');</script>");这个不行,不会关闭,只能打开新页面

------解决方案--------------------------------------------------------
top.close();
  相关解决方案