$function javascript ready code example Example: document ready jquery $(function() { // Handler for .ready() called. });