Answers for "how to close modal in jquery"

9

close modal jquery

$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
Posted by: Guest on February-12-2020
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
0

jquery on modal close event

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

modal show not close jquery

jQuery('#modal_ajax').modal('show', {backdrop: 'static', keyboard: false});
Posted by: Guest on December-25-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language