刚做了的一个项目中也用到了模态窗口刷新父窗口的功能。能实现但刷新的结果模态框关闭后才能看到。
做法将在打开将window对象做为参数传递给过去,然后就可以操作了。
1.window.showModalDialog("3.asp",window);
2.模态窗口中接收 var oParentWin=window.dialogArguments;
                 oParentWin.frames[<framename>].document.location.reload();