after page load run function after 5 sec in jquery code example Example: jquery run after page load $(window).on('load', function() { // code here });