Click to See Complete Forum and Search --> : onload and onunload commands


netsavage
11-06-2003, 11:13 AM
Can someone please tell me how to put both an onload and onunload on the body attribute so both events will happen?

Thanks

Nayias
11-06-2003, 11:35 AM
you mean this:
<body onLoad="YourFunction()" onUnload="YourFunction2()">

netsavage
11-06-2003, 11:40 AM
sorry about that, I assumed it would be a problem, should have checked first.