js at document ready code example Example: document jquery $(function(){ // equal to $( document ).ready(function() { });