Modal JavaScript Tutup
$('#closemodal').click(function() {
$('#modalwindow').modal('hide');
});
Mobile Star
$('#closemodal').click(function() {
$('#modalwindow').modal('hide');
});
$('#registration-exams-modal').on('hidden.bs.modal', function () {
alert('close');
})
$('#myModal').on('hidden.bs.modal', function () {
// do something…
})
$('#myModal').modal('hide');
<div id="idModal" class="modal hide" data-backdrop="static" data-keyboard="false">
$("yourid").on('hide.bs.modal', function(){
// do it here
});