Uncaught TypeError: Cannot read property 'appendChild' of null

后端 未结 10 1971
予麋鹿
予麋鹿 2020-12-14 08:43

I\'m getting the following error

Uncaught TypeError: Cannot read property \'appendChild\' of null

myRequest.onreadystatechange @ script.js

10条回答
  •  有刺的猬
    2020-12-14 09:06

    add your script tag on the bottom of the body tag. so that script loads after html content then you won't get such error and add=

提交回复
热议问题