title: Attach a body onload event with JS
body: <p>How do I attach a body onload event with JS in a cross browser way? As simple as this?</p>
  
  <pre><code>  document.body.onload = function(){
        alert("LOADED!");
    }
  </code></pre>