how to get function to load event target on page load code example Example: javascript onload <body onload="myFunction()">