This example shows two ways of defining on page load event. The callback function gets invoked as soon as the page is loaded. The second one is short notation of first one.