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!" );
});
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+6 =