您的位置:首页 > Web前端 > JavaScript

JS 关闭本页面,刷新父页面

2008-08-05 19:55 211 查看
//刷新父页面,关闭本页面

this.Page.Response.Write("<script>alert('法律专家信息更新成功!');"+

"window.opener.parent.document.location.reload();"+

"window.opener=null;window.open( '', '_self');window.close();"+

"</script>");

this.Page.Response.Write("<script>alert('法律专家信息更新成功!');window.location='default.aspx';</script>");
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: