Answers for "you can simply use the modal(‘hide’) method to hide or close the modal window in bootstrap using jquery."

1

hide bootstrap modal jquery

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

hide and show modal jquery

$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
Posted by: Guest on April-18-2021

Code answers related to "you can simply use the modal(‘hide’) method to hide or close the modal window in bootstrap using jquery."

Code answers related to "Javascript"

Browse Popular Code Answers by Language