How to always display Bootstrap 3 modal?
问题 Bootstrap 3 modals are hidden by default. To launch them I have to click a trigger button: <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#myModal"> Launch demo modal </button> JSFiddle I have tried the following but it has no effect: jQuery(window).load(function(){ jQuery('#myModal').modal('show'); }); How can I ensure my modal is always displayed on screen? i.e. I don't want the user to have to manually display it by clicking on the trigger button. I don't want them