View Full Version : Body onLoad question
MaryAnn
09-30-2006, 05:30 PM
Can I use 2 different BODY onload event handlers inside the body tag? I have one right now and I've tried to add the second one in several different ways, but it won't work. Is this possible?
jscheuer1
10-01-2006, 01:23 AM
Yes and no. You can do this:
<body onload="doThis();doThat();">
You cannot do this:
<body onload="doThis();" onload="doThat();">
MaryAnn
10-02-2006, 05:17 PM
Thanks!!! :) I tried it as you suggested and it works!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.