2 scripts, 1 page requiring "Body Onload" tag...How?

They have: 3 posts

Joined: Jul 2001

Can someone help out please?...

If you have 2 JavasSript codes being used on the same html page, each for a different purpose, for example...one to preload images and one to make a pop-up window, which each require you to use the tags, what is the proper way to achieve this?

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

to call multiple scripts separate them with semicolons.

eg:

.... onLoad="callscript1(); callscript2();"

Smiling

They have: 3 posts

Joined: Jul 2001

Thank you very much for the help...and the quick response!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.