Answers for "bootstrap modal without button"

1

hide bootstrap modal jquery

$(document).ready(function(){
        $(".btn").click(function(){
            $("#myModal").modal('hide');
        });
});
Posted by: Guest on September-19-2020
0

bootstrap modal don't dismiss

<div class="modal fade" id="myModal" data-backdrop="static" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
Posted by: Guest on September-07-2020
0

bootstrap 4 modal hidden event

/* This event is fired when the modal has finished being hidden from the user 
 * (will wait for CSS transitions to complete).
 */
$('#myModal').on('hidden.bs.modal', function (e) {
  // do something...
})
Posted by: Guest on April-07-2022

Code answers related to "bootstrap modal without button"

Code answers related to "Javascript"

Browse Popular Code Answers by Language