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