Answers for "bootstrap modal hide then"

1

hide bootstrap modal jquery

$(document).ready(function(){
        $(".btn").click(function(){
            $("#myModal").modal('hide');
        });
});
Posted by: Guest on September-19-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 "Javascript"

Browse Popular Code Answers by Language