Answers for "modal('hide')"

3

bootstrap modal on hide event

$('#myModal').on('hidden.bs.modal', function (e) {
  // do something...
});
Posted by: Guest on June-18-2021
4

close bootstrap modal with javascript

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

hide bootstrap modal jquery

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

Browse Popular Code Answers by Language