hidden.bs.modal not working bootstrap 4 code example
Example 1: bootstrap on hidden bs modal
$('#myModal').on('hidden.bs.modal', function (e) {
// do something...
})
Example 2: bootstrap 4 hide modal via javascript
$('#myModal').modal('hide')
$('#myModal').on('hidden.bs.modal', function (e) {
// do something...
})
$('#myModal').modal('hide')