[removed] Does not change the div innerHTML

前端 未结 5 1843
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-13 21:58

I really cannot understand why this does not work. I\'ve tried couple of tricks but I just don\'t get it.





        
5条回答
  •  遥遥无期
    2021-01-13 22:27

    This is working as you can see here:

    http://jsfiddle.net/gHbss/

    It's important that you put the JavaScript after your HTML div container.

提交回复
热议问题