var returnVal = window.showModalDialog(url,args,'dialogHeight: ' + height + 'px;dialogWidth:' + width + 'px;status:no;help:no;resizable:yes;scroll:yes;center:yes;'); if (returnVal=="True") { window.location.href=window.location.href; window.location.reload(); } 然后在打开的窗口中<script>window.returnValue='True';window.close();</script> 相关文章: