two onload event handlers - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

two onload event handlers

RavenRaven Posts: 59Member
how can i put two onload event handlers on one page.
for example:

i would also like to run:
OnLoad="tickinit()"
within the same body tag. I can only seem to get the first one that is typed in to run. it doesn't cause any errors but the second one just won't run althought the colors and sizes all do react as they should.
How do i put two onload event handlers into one page?
Thanks to all who can help.
Raven


Comments

  • JaneHungJaneHung Posts: 1Member
    : how can i put two onload event handlers on one page.
    : for example:
    :
    : i would also like to run:
    : OnLoad="tickinit()"
    : within the same body tag. I can only seem to get the first one that is typed in to run. it doesn't cause any errors but the second one just won't run althought the colors and sizes all do react as they should.
    : How do i put two onload event handlers into one page?
    : Thanks to all who can help.
    : Raven

    Hi Raven,

    Try putting a semicolon after each of your event handlers. If you separate each event handlers with a ";", you can put in as many as you want.

    For example,

    Jane

Sign In or Register to comment.