Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

$(document).ready | 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
6+4 =