función de llamada en modal abierto
$('#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');
});