- //刷新父页面,关闭本页面
- 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>");
本文介绍了使用JavaScript进行页面刷新及关闭的方法,通过特定的代码实现父页面的刷新和当前页面的关闭,适用于需要进行信息更新确认后的操作场景。
3292





