whats the substitute for a body onload?

Posted by Jason94 on Stack Overflow See other posts from Stack Overflow or by Jason94
Published on 2010-05-13T00:32:13Z Indexed on 2010/05/13 0:34 UTC
Read the original article Hit count: 272

Filed under:

i have a javascript that i need to load at the body, but since im trying to build something flexible i really want it to function on a onLoad on a divtag. But thats not going to happen as i understand it as onLoad does not work on a divtag.

is there another way i can load/start a function within a divtag?

© Stack Overflow or respective owner

Related posts about JavaScript