Uncaught TypeError: Cannot read property 'appendChild' of null
时间:2018-11-21 17:10:59
收藏:0
阅读:195

出现了这个是因为把js放在了head中,而我获取的是在body中的东西。html整体上是至上而下的流程。因此需要将js从head中放置到body中就可以了。
原文:https://www.cnblogs.com/logsapling/p/9995904.html
评论(0)