how to find out where js code is onload class code example Example: javascript onload <body onload="myFunction()">