两种形式:
一、JS调用时:
$('#myModal').modal({backdrop: 'static', keyboard: false});
二、直接写在modal的结构上:
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"data-backdrop="static" data-keyboard="false">
两种形式:
一、JS调用时:
$('#myModal').modal({backdrop: 'static', keyboard: false});
二、直接写在modal的结构上:
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"data-backdrop="static" data-keyboard="false">