document.ready in jquery example
Example 1: document ready
$( document ).ready(function() {
console.log( "ready!" );
});
Example 2: ready function jquery
ready function js
$( document ).ready(function() {
console.log( "ready!" );
});
ready function js