Функция вызова на Modal Open
$('#myModal').on('shown.bs.modal', function (e) {
// do something...
})
Ranish Patel
$('#myModal').on('shown.bs.modal', function (e) {
// do something...
})
$(document).on('show.bs.modal', '#reservationModal', function (e) {
console.log('works');
});