模态框为信息编辑窗口,涉及好多内容,填了半天,若一不小心点了空白处.....
$('#myModal').modal({backdrop: 'static', keyboard: false});
backdrop:static时,空白处不关闭.
keyboard:false时,esc键盘不关闭.
上述代码用以打开模态框
模态框为信息编辑窗口,涉及好多内容,填了半天,若一不小心点了空白处.....
$('#myModal').modal({backdrop: 'static', keyboard: false});
backdrop:static时,空白处不关闭.
keyboard:false时,esc键盘不关闭.
上述代码用以打开模态框