Answers for "trigger event on modal close"

1

add event listener on modal close

$('#registration-exams-modal').on('hidden.bs.modal', function () {
  alert('close');
})
Posted by: Guest on July-30-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 "Javascript"

Browse Popular Code Answers by Language