1 //编辑
2 function btnEdit(keyid,sysName,mark) {
3 // 打开模态窗体,并获取返回值
4 var returnValue = window.showModalDialog(‘FileChange_SystemEdit.aspx?sysName=‘ + sysName + ‘&keyid=‘ + keyid + ‘&mark=‘ + mark, ‘‘, ‘dialogWidth=500px;dialogHeight=250px;resizable=yes‘);
5 if (returnValue == ‘Sucess‘) {
6 window.location.reload();
7 }
8 }
9 //在子模态窗口页面设置返回值
10 window.returnValue = "Sucess";
11 window.close();
时间: 2024-10-11 11:57:19