addLoadListener | JavaScriptSource

addLoadListener

JavaScriptSource Staff Jan 8, 2007

General

This snippet will prevent designated functions from being executed until after the page loads. Includes a sample of the function in use.


Notes

You can use it like this...


Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: yourFile.js


Head

Paste this code into the HEAD section of your HTML document.


Leave a Response

(0 comments)