求知若饥,虚心若愚

iframe子页面刷新父页面

在子页面刷新父页面,可以用js代码来实现。

只需加入下面的代码:<script language="javascript">parent.location.replace(parent.location.href); </script>

.NET中在后台处理完数据可以:Response.Write("<script language=“javascript”>parent.location.replace(parent.location.href);</script>");

posted @ 2012-08-15 15:30  初行  阅读(1276)  评论(1编辑  收藏  举报