Re: OT - Quick Javascript question

by Greg Hart <ghhart(at)earthlink.net>

 Date:  Sat, 18 Jan 2003 19:35:35 -0500
 To:  hwg-basics(at)hwg.org
 In-Reply-To:  p1
  todo: View Thread, Original
At 07:17 PM 1/18/03 -0500, you wrote:
>I have two scripts which require to be loaded in the <body section of my
>html page using onload=, but it appears you can only have one of these at a
>time - as I am not familiar with javascripts is  there a way I could have
>more than one onload=?

Why not just call a simple JS routine that in turn calls the two you want run?

onload="loadBoth()"

function loadBoth () {
         routineOne();
         routineTwo();
} 

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA