javascript change innerhtml

前端 未结 7 1897
逝去的感伤
逝去的感伤 2021-02-13 04:04

ok im new at javascript, but im trying to change the innerhtml of a div tag, heres my script and its not working:




        
相关标签:
7条回答
  • 2021-02-13 04:55

    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".

    0 讨论(0)
提交回复
热议问题