专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »Javascript教程 » js刷新本页:JS 关闭本页面,刷新父页面代码 »正文

js刷新本页:JS 关闭本页面,刷新父页面代码

来源: 发布时间:星期三, 2008年9月10日 浏览:991次 评论:0

代码如下:

  1. //刷新父页面,关闭本页面
  2. this.Page.Response.Write("<script>alert('法律专家信息更新成功!');"+
  3. "window.opener.parent.document.location.reload();"+
  4. "window.opener=null;window.open('','_self');window.close();"+
  5. "</script>");

  1. this.Page.Response.Write("<script>alert('法律专家信息更新成功!');window.location='default.aspx';</script>");
0

相关文章

读者评论

  • 1sdfdsf(113.87.162.*) 发布于:星期五, 2009年6月19日
    sdfd

发表评论

  • 昵称:
  • 内容: