当在页面中a.aspx中有个iframe b.aspx现在我在b.aspx提效一条信息后,我想刷新a.aspx该如何????
Response.Write("<script language='JavaScript'>window.alert('评论发表成功,谢谢您的参与!');if(window.opener != null){window.opener.location.replace(window.opener.location);}window.opener=null;window.close();</script>");a.aspx<iframe src="http://www.chinas.com/age/b.aspx" frameborder=0 scrolling="no" width="100%" name="ifq" height=350></iframe>请哪位老大帮忙
Response.Write("<script language='JavaScript'>window.alert('评论发表成功,谢谢您的参与!');if(window.opener != null){window.opener.location.replace(window.opener.location);}window.opener=null;window.close();</script>");a.aspx<iframe src="http://www.chinas.com/age/b.aspx" frameborder=0 scrolling="no" width="100%" name="ifq" height=350></iframe>请哪位老大帮忙
————————————————————————————————
DotNet中华网:www.aspxcn.org
http:\\www.cnblogs.com\zeus 文章后附有源代码。P.S.:不是广告:)