Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document ready

Two syntaxes can be used for this:
$( document ).ready(function() {
   console.log( "ready!" );
});

Or the shorthand version:
$(function() {
   console.log( "ready!" );
});
Source by learn.jquery.com #
 
PREVIOUS NEXT
Tagged: #document #ready
ADD COMMENT
Topic
Name
7+6 =