Answers for "how to show modal popup on page load in jquery"

1

jquery on modal show

$(window).on('shown.bs.modal', function() { 
    $('#code').modal('show');
    alert('shown');
});
Posted by: Guest on October-01-2020
-1

onload of modal jquery function

$("#myModal").on('shown.bs.modal', function () {
        alert('The modal is fully shown.');
   });
Posted by: Guest on March-22-2021

Code answers related to "how to show modal popup on page load in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language