jquery on modal load code example
Example 1: on modal close jquery
$('#myModal').on('hidden.bs.modal', function () {
// do something…
})
Example 2: open modal in jqwuery
$("#myModal").modal()
$('#myModal').on('hidden.bs.modal', function () {
// do something…
})
$("#myModal").modal()