javascript - Bootstrap 3 set options for individual modal -
i have next piece of code trying setup these properties bootstrap modal when place $(document).ready
modal shows when page loads
$(document).ready(function(){ $('#mymodalbug').modal({ backdrop: 'static', keyboard: false }); });
how can create set these properties without dialog show on load page?
you need set show false. defaults true see options here
$(document).ready(function(){ $('#mymodalbug').modal({ backdrop: 'static', keyboard: false, show: false }); });
javascript jquery twitter-bootstrap
No comments:
Post a Comment