// jQuery document ready function
$(function() {
// do stuff
});
$(function() {
console.log( "ready!" );
});
jQuery(document).ready(function() {
});
1
2
3
4
// A $( document ).ready() block.
$( document ).ready(function() {
console.log( "ready!" );
});
// jQuery document ready
$(document).ready(function() {
console.log( "Listo!" );
});