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();" />