run jquery after page load code example
Example 1: jquery run after page load
$(window).on('load', function() {
// code here
});
Example 2: after load page jquery
$(document).ready(function() {
});
Example 3: document jquery
$(function(){
// equal to $( document ).ready(function() {
});
Example 4: ajax run function after page load
$(document).ready(function() {
// Code to run as soon as the page is ready
})