Answers for "how to call a function after page load in jquery"

5

jquery run after page load

$(window).on('load', function() {
 // code here
});
Posted by: Guest on September-28-2020
1

ajax run function after page load

$(document).ready(function() {
    // Code to run as soon as the page is ready
})
Posted by: Guest on May-22-2020

Code answers related to "how to call a function after page load in jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language