load modal from another page jquery code example
Example: onload of modal jquery function
$("#myModal").on('shown.bs.modal', function () {
alert('The modal is fully shown.');
});
$("#myModal").on('shown.bs.modal', function () {
alert('The modal is fully shown.');
});