There's no such action as onLoad as JavaScript is case sensitive and requires event handlers names to be all lowercase.

Also onload effectively became obsolete when people started using the best practice of placing their scripts at the very bottom of the page where they don't slow the loading of the page and where everything they need to reference will have already loaded.