- 问题:IE9+ 弹出层关闭不了 ,
是不是: $("#frmCRUDDefect").dialog('close');
dialog 这个方法崩溃啦 -
$('#frmCRUDDefect').dialog({
modal: true, autoOpen: false, width: 900, height: 530, resizable: false, position: { my: "center", at: "center", of: window }, buttons: { 'Save': function () { //保存 RMIDefect.SaveDefect(""); }, 'Save & Add': function () { //保存并增加 RMIDefect.SaveDefect("Add"); }, 'Save & Close': function () { //保存并关闭 RMIDefect.SaveDefect("Close"); }, 'Add': function () { //清空版面操作 RMIDefect.InitDefect(); }, 'Close': function () { //console.log("Close"); //console.log($("#frmCRUDDefect")); $("#frmCRUDDefect").dialog('close'); } } });