PDA

View Full Version : Hwo do you put two Onload="blah"



ajfmrf
09-14-2011, 11:53 AM
On one page?

I need both:

<body onload="clearRestore( 'field1', 'field2', 'field3')","roller()">
<body onload="roller()">

on a page.

Do I put them combined as:
<body onload="clearRestore( 'field1', 'field2', 'field3')","roller()" onload="roller()">

Or as:
<body onload="clearRestore( 'field1', 'field2', 'field3')","roller()">
onload="roller()">

Thanks,bud

jscheuer1
09-14-2011, 01:50 PM
Neither, you do:


<body onload="clearRestore('field1', 'field2', 'field3'); roller();">

ajfmrf
09-14-2011, 03:33 PM
Thank you John.

Those pesky quotes-lol

Bud