Answers for "modal on hide jquery"

5

on modal close jquery

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

hide bootstrap modal jquery

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

hide bootstrap modal jquery

$(() => {
  $(".btn").on('click', function(){
    $("#myModal").modal('hide');
  });
});
Posted by: Guest on July-30-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language