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?
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?
Yes and no. You can do this:
You cannot do this:HTML Code:<body onload="doThis();doThat();">
HTML Code:<body onload="doThis();" onload="doThat();">
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Thanks!!!I tried it as you suggested and it works!
Bookmarks