Answers for "close a modal on button click"

5

on modal close jquery

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

when modal close event

$("yourid").on('hide.bs.modal', function(){
	// do it here
});
Posted by: Guest on January-07-2021

Code answers related to "close a modal on button click"

Code answers related to "Javascript"

Browse Popular Code Answers by Language