on modal close jquery
snippet in javascript

on modal close jquery

user4973

$('#myModal').on('hidden.bs.modal', function () {
  // do something…
})

add event listener on modal close

user6339

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

modal show not close jquery

user4900

jQuery('#modal_ajax').modal('show', {backdrop: 'static', keyboard: false});