Answers for "bootstrap close modal jquery"

3

jquery close bootstrap model

$('#modal').modal('hide');
Posted by: Guest on July-21-2020
5

on modal close jquery

$('#myModal').on('hidden.bs.modal', function () {
  // do something…
})
Posted by: Guest on April-10-2020
-2

data-dismiss= modal in jquery

$(document).ready(function(){
        // Open modal on page load
        $("#myModal").modal('show');
 
        // Close modal on button click
        $(".btn").click(function(){
            $("#myModal").modal('hide');
        });
    });
Posted by: Guest on August-29-2020
4

close bootstrap modal with javascript

$('#myModal').modal('hide');
Posted by: Guest on April-16-2020
4

open bootstrap modal with javascript

$("#myModal").modal()
Posted by: Guest on July-21-2020
0

bootstrap modal on close

$('#myModal').on('hidden.bs.modal', function () {
    // do something…
});
Posted by: Guest on May-30-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language