Question : bootstrap 4 modal hidden event
Answered by : strange-squirrel-7znma9c26eat
/* This event is fired when the modal has finished being hidden from the user * (will wait for CSS transitions to complete). */
$('#myModal').on('hidden.bs.modal', function (e) { // do something...
})
Source : https://getbootstrap.com/docs/4.0/components/modal/ | Last Update : Thu, 14 Apr 22
Question : Bootstrap modal hide and show
Answered by : rusik
$('#myModal').modal('hide');
$('#myModal').modal('show');
Source : https://stackoverflow.com/questions/16493280/close-bootstrap-modal | Last Update : Wed, 25 May 22
Question : bootstrap modal on hide event
Answered by : rouani-ayoub
$('#myModal').on('hidden.bs.modal', function (e) { // do something...
});
Source : | Last Update : Fri, 25 Jun 21