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? or when i include the .js file?
you can embed script snippets which execute when they are loaded. This example is from jquery…
Maybe you need to make your question more clear?