Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document ready in jquery

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 #jquery
ADD COMMENT
Topic
Name
2+6 =