document load console code example
Example 1: jquery document ready
// jQuery document ready
$(document).ready(function() {
});
Example 2: jquery document ready shorthand
jQuery(function() {
// Code here
});
// jQuery document ready
$(document).ready(function() {
});
jQuery(function() {
// Code here
});