Solution for "handle event on modal close"

$('#closemodal').click(function() { $('#modalwindow').modal('hide'); });

javascript modal close

$('#registration-exams-modal').on('hidden.bs.modal', function () { alert('close'); })

add event listener on modal close

Similar codes for "handle event on modal close"


Latest 'Javascript' questions

Added before "handle event on modal close"