Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery document ready

The .ready() method is typically used with an anonymous function:
$( document ).ready(function() {
  // Handler for .ready() called.
});

Which is equivalent to the recommended way of calling:
$(function() {
  // Handler for .ready() called.
});
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #jquery #document #ready
ADD COMMENT
Topic
Name
4+3 =