Home  >  Article  >  Web Front-end  >  window.open的页面如何刷新(父页面)上层页面_javascript技巧

window.open的页面如何刷新(父页面)上层页面_javascript技巧

WBOY
WBOYOriginal
2016-05-16 17:45:121280browse
复制代码 代码如下:

this.ClientScript.RegisterStartupScript(this.GetType(), this.Title, "window.opener.location.reload();alert('销帐成功!');", true);

主要是这段js代码:window.opener.location.reload();

如果没特殊要求,可以考虑用div
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn