...

View Full Version : Multiple onLoad handlers?



mtgkooks
02-25-2003, 03:07 AM
How can I have multiple "onLoad" event handlers attached to my <body> tag?

Example:

<body onLoad="UpdateClocks()" onLoad="doPopUp();">

The above example DOES NOT WORK! How can I get these two handlers to work?

Any help would be greatly appreciated.

:confused:

Graeme Hackston
02-25-2003, 03:25 AM
onload="UpdateClocks(); doPopUp();"

cg9com
02-25-2003, 08:22 AM
another method being window.onload in your JS.

anurag_shr
02-25-2003, 08:35 AM
another method is that call a function on form onload..then from that function call as many functions as u want.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum