jQuery - What are differences between $(document).ready and $(window).load?
<p>What are differences between</p>

<pre><code>$(document).ready(function(){
 //my code here
});
</code></pre>

<p>and</p>

<pre><code>$(window).load(function(){
  //my code here
});
</code></pre>

<hr>

<p>And I want to make sure that:</p>

<pre><code>$(document).ready(function(){

}) 
</code></pre>

<p>and </p>

<pre><code>$(function(){

}); 
</code></pre>

<p>and </p>

<pre><code>jQuery(document).ready(function(){

});
</code></pre>

<p>are the same.</p>

<p>Can you tell me what differences and similarities between them?</p>
