Onload of Modal jQuery Fonction

$("#myModal").on('shown.bs.modal', function () {
        alert('The modal is fully shown.');
   });
Vyas