title: window.onload vs $(document).ready()
body: <p>What are the differences between JavaScript's <a href="https://developer.mozilla.org/en/docs/Web/API/GlobalEventHandlers/onload" rel="noreferrer"><code>window.onload</code></a> and jQuery's <a href="https://learn.jquery.com/using-jquery-core/document-ready/" rel="noreferrer"><code>$(document).ready()</code></a> method?</p>