[removed] Does not change the div innerHTML

前端 未结 5 1839
佛祖请我去吃肉
佛祖请我去吃肉 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:14

    The script has to be placed after the div#results or executed onload, otherwise the element is still unknown when you try to access it.

提交回复
热议问题