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