jquery use $.ready() code example
Example 1: jquery document ready
// jQuery document ready
$(document).ready(function() {
});
Example 2: ready function jquery
ready function js
// jQuery document ready
$(document).ready(function() {
});
ready function js