ok im new at javascript, but im trying to change the innerhtml of a div tag, heres my script and its not working:
You're getting an element with an id of "test", but there is no element with that id in your html. There is, however, one called "text".