how to get the call a function in ready jquery code example
Example 1: document ready
$( document ).ready(function() {
console.log( "ready!" );
});
Example 2: jquery ready
// jQuery document ready function
$(function() {
// do stuff
});
$( document ).ready(function() {
console.log( "ready!" );
});
// jQuery document ready function
$(function() {
// do stuff
});