View Full Version : Multiple onLoad handlers?

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


<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.


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

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

02-25-2003, 07: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