jquery ready method obsolet code example Example: jquery on ready $(function() { console.log( "ready!" ); });