首页 > 代码库 > common

common

1. window.showModalDialog 返回值和刷新主页

var result=window.showModalDialog("/officeauto/hr/Popup/ReviewDX.aspx?Id="+Id+"&RelateId="+RelateId+"&Code="+Code,window,"dialogWidth=600px;dialogHeight=550px;status=no;help=no;scrollbars=no");
                if (result != null && result.length > 0) {
                    window.location.reload();
                }
alert("保存成功!");
window.returnValue="11";
window.close();

 

common