What is the code for jQuery's document onload event?

Answer

When the DOM has been loaded jQuery's ready method will fire:

$(document).ready(function() {
  // DOM is loaded
});

Example

DOM Loading...