when modal close event alert code example
Example 1: on modal close jquery
$('#myModal').on('hidden.bs.modal', function () {
// do something…
})
Example 2: when modal close event
$("yourid").on('hide.bs.modal', function(){
// do it here
});
$('#myModal').on('hidden.bs.modal', function () {
// do something…
})
$("yourid").on('hide.bs.modal', function(){
// do it here
});