我用javascript打开一窗口,如何让窗口关闭时刷新另一窗口? <body onUnLoad='a.location.reload();'> 我用javascript打开一窗口,如何让窗口关闭时刷新另一窗口?function doModal(url){win=window.showModalDialog(url,0,"dialogWidth:500px;dialogHeight:500px;status:no;help:no;");document.location.reload();}