可以刷新了
但是我把showModalDialog用到我的函数中,调用就报错,不知道是为什么?
function OpenModa(URL,WIDTH,HEIGHT) {
var theDes='status:no;center:yes;help:no;minimize:yes;maximize:no;dialogWidth:'+WIDTH+'px;dialogHeight:'+HEIGHT+'px;scroll:no;';
window.showModalDialog(URL,window,theDes);
//window.showModelessDialog(URL,window,theDes);
}