向高手请教关于模态窗口刷新父窗口的问题:
父窗口:
window.showModalDialog(url,window,'dialogWidth:300px;dialogHeight:560px;center:1;scroll:1;help:0;status:0');
模态窗口:
onunload="window.dialogArguments.location.reload();"
换成onunload="window.opener.location.reload();" 看看可以不
模态窗口的写WINDOW表示窗口本身。
在window.showModalDialog后,刷新就可以了。
var reulst = window.showModalDialog(url,window,'dialogWidth:300px;dialogHeight:560px;center:1;scroll:1;help:0;status:0');
if(result 如何) then
window.location.href = window.location.href;
end if;