Answers for "how to reload a modal on load of that modal"

2

bootstrap show modal on page load

<script type="text/javascript">
    $(window).on('load',function(){
        $('#myModal').modal('show');
    });
</script>
Posted by: Guest on September-28-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 "Javascript"

Browse Popular Code Answers by Language