window.open的页面如何刷新(父页面)上层页面
(编辑:jimmy 日期: 2025/12/25 浏览:3 次 )
复制代码 代码如下:
this.ClientScript.RegisterStartupScript(this.GetType(), this.Title, "window.opener.location.reload();alert('销帐成功!');", true);
主要是这段js代码:window.opener.location.reload();
如果没特殊要求,可以考虑用div
this.ClientScript.RegisterStartupScript(this.GetType(), this.Title, "window.opener.location.reload();alert('销帐成功!');", true);
主要是这段js代码:window.opener.location.reload();
如果没特殊要求,可以考虑用div
下一篇:CSS(js)限制页面显示的文本字符长度