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