General
Need to load several functions after the page loads? Use this snippet to call several functions using the onLoad event handler. Easy to use.
Notes
- Created by: Simon Willison
- Web Site: http://simon.incutio.com/
- Posted: June 29, 2007
See the notes at: “Executing JavaScript on Page Load“
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: multipleOnload.js and load it last. Or, if you use one file for several scripts, you can add it to the bottom of page.
Head
Paste this code into the HEAD
section of your HTML document.