JQuery Modal on Show Target -Taste
$('#delete-file-modal').on('show.bs.modal', function (event) {
console.log(event.relatedTarget);
});
Puzzled Peafowl
$('#delete-file-modal').on('show.bs.modal', function (event) {
console.log(event.relatedTarget);
});
$('#myModal').modal('show')