jquery run after page load
snippet in javascript

jquery run after page load

user4024

$(window).on('load', function() {
 // code here
});

document jquery

user9091

$(function(){
  // equal to $( document ).ready(function() {
});
  

jquery ready

user576

// jQuery document ready function
$(function() {
 // do stuff
});