特定のイベントの後にモーダルの動作を変更したい。
$('.myModal').modal('show'); // default behavior - user can close modal on ESC
$(button).click(function(){
$('.myModal').modal({keyboard:false}); // override
// prevous line code does not work as i expect,
// user can close modal with ESC
$('.myModal').data('modal').option.keyboard = false; // even this code doesn't work
});
どんな助けでも大歓迎です