document ready
snippet in javascript

document ready

user4367

$( document ).ready(function() {
    console.log( "ready!" );
});

jquery doc ready

user2972

// A jQuery( document ).ready() block.
jQuery( document ).ready(function() {
    console.log( "ready!" );
});

document ready without jquery

user9806

document.addEventListener("DOMContentLoaded", function(event) { 
  //we ready baby
});

documentready

user9298

// A $( document ).ready() block.
$( document ).ready(function() {
    console.log( "ready!" );
});

document ready

user5274

// A $( document ).ready() block.
$( document ).ready(function() {
    console.log( "ready!" );
});

document ready

user4393

$( document ).ready(function() {
    console.log( "ready!" );
});