Hi Guys
Anybody know of a way to dynamically add functions to the body tag's onload event?
Basically, at the point at which the <body> tag is written I am unaware of the initialisation functions that will need to be called. This only emerges as further JSP tags are evaluated and I would like to allow these to add their init routines so that once the entire page has been loaded they can execute as one.
I can access the contents of the document.body.onload in IE 5.5 but can't find a way to write to it.
I realise that this sounds like a contrived situation but believe me, as a result of the legacy code hanging around being able to do this will substantially reduce the migration time to our new platform.
Any help greatly appreciated
Anybody know of a way to dynamically add functions to the body tag's onload event?
Basically, at the point at which the <body> tag is written I am unaware of the initialisation functions that will need to be called. This only emerges as further JSP tags are evaluated and I would like to allow these to add their init routines so that once the entire page has been loaded they can execute as one.
I can access the contents of the document.body.onload in IE 5.5 but can't find a way to write to it.
I realise that this sounds like a contrived situation but believe me, as a result of the legacy code hanging around being able to do this will substantially reduce the migration time to our new platform.
Any help greatly appreciated