document ready

JavaScript
$( document ).ready(function() {
    console.log( "ready!" );
});
// A $( document ).ready() block.
$( document ).ready(function() {
    console.log( "ready!" );
});
// A jQuery( document ).ready() block.
jQuery( document ).ready(function() {
    console.log( "ready!" );
});document.addEventListener("DOMContentLoaded", function(event) { 
  //we ready baby
});$( document ).ready(function() {
    console.log( "ready!" );
});
Source

Also in JavaScript: