ok im new at javascript, but im trying to change the innerhtml of a div tag, heres my script and its not working:
Your example will work if you change the uppercase "L" to a lowercase "L" in "onLoad" and remove the parenthesis after var1 where you currently have window.onLoad = var1();