jquery 3.3.1 document ready code example Example: document. ready $( document ).ready(function() { console.log( "ready!" ); });