RefreshParenwin 打开子窗体 并回发

ParentWin:

<input id="btnOpenWin" type="button" value="打开子窗体" onclick="window.open('ChildWin.aspx','','width=200,height=30');"/>

ChildWin:

<input id="btnSave" type="button" value="保存" onclick="alert('保存成功!');opener.location.reload();window.close();"  />

posted @ 2013-01-19 17:24  yellowshorts  阅读(121)  评论(0编辑  收藏  举报