You are here: irt.org | BBS | Re: Execute Onload [This BBS is closed]
Posted by Jason Nugent on September 17, 1998 at 18:39:49:
In Reply to: Execute Onload posted by Erik Moore on September 17, 1998 at 15:02:13:
: I have a simple function that I want to execute as soon as the page is finished loading, and can't seem to find the event to tie it to. I thought that the document onload would do it, but so far I have not been able to get anything but user interaction to fire a function.
The BODY onLoad () event handler is designed for this very purpose. I use this many times in my sites to fire a function when the page is loaded.
<BODY onLoad="function ();">
hope that helps,
Jason
Follow-ups:
You are here: irt.org | BBS | Re: Execute Onload [This BBS is closed]