fuction.ready code example
Example 1: document jquery
$(function(){
// equal to $( document ).ready(function() {
});
Example 2: ready function jquery
ready function js
$(function(){
// equal to $( document ).ready(function() {
});
ready function js