Answers for "how to close modal using event listener javascript"

4

javascript modal close

$('#closemodal').click(function() {
    $('#modalwindow').modal('hide');
});
Posted by: Guest on March-08-2020
1

add event listener on modal close

$('#registration-exams-modal').on('hidden.bs.modal', function () {
  alert('close');
})
Posted by: Guest on July-30-2020

Code answers related to "how to close modal using event listener javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language