$(document).ready(function () { // Function code here. });
$( document ).ready(function() { console.log( "ready!" ); });
$(function(){ // equal to $( document ).ready(function() { });