Page 1 of 1

Adding to existing Events

Posted: Thu Jan 08, 2004 2:07 am
by Gen-ik
I'm trying to find a way of adding extra commands to an object event... for example if I had <body onload="setupPage()"> how would I go about adding more info to that via JavaScript?

I can do it easily enough with IE by using the object.attachEvent() but this doesn't work in NS.

Any ideas or pointers would be great :)

Posted: Thu Jan 08, 2004 3:10 am
by Weirdan

Posted: Thu Jan 08, 2004 4:36 am
by Gen-ik
Cheers mate... I knew there had to be something around to do it on NS :)