執行刷新
Response.Write("<script>window.opener.location.reload();</script>");
關閉
//window.close();
母頁打開至頂的子頁面
<input id="Button1" type="button" value="button" onclick ="javascript:window.showModelessDialog('index.aspx')" />
本文介绍了一种使用JavaScript实现网页刷新的方法,并演示了如何通过母页面打开一个顶点的子页面。这两种技巧对于前端开发者来说非常实用。
執行刷新
Response.Write("<script>window.opener.location.reload();</script>");
關閉
//window.close();
母頁打開至頂的子頁面
<input id="Button1" type="button" value="button" onclick ="javascript:window.showModelessDialog('index.aspx')" />

被折叠的 条评论
为什么被折叠?