how to close bootstrap modal after seconds code example
Example: bootstrap modal on close
$('#myModal').on('hidden.bs.modal', function () {
// do something…
});
$('#myModal').on('hidden.bs.modal', function () {
// do something…
});