模态框为信息编辑窗口,涉及好多内容,填了半天,若一不小心点了空白处.....
<span style="font-size: 14px">$('#myModal').modal({backdrop: 'static', keyboard: <span style="color: #0000ff">false</span></span><span style="color: #000000"><span style="font-size: 14px">});</span><br></span>
<span style="font-size: 16px">backdrop:static //空白处不关闭. keyboard:false //esc键盘不关闭.</span>
上述代码用以打开模态框