PDA

View Full Version : JavaScript


Rich Gilbert
11-25-2002, 08:37 PM
I have a server side include that I have to code in and around from time to time, but it has the onload event handler coded already. I want to add another event to the onLoad handler but
I don't know how this works. Any syntactically correct ideas??

beetle
11-25-2002, 11:04 PM
<body onload="function1(); function2();">

although it doesn't HAVE to be functions (it can be any code) just separate statements with a semicolon