Uncaught TypeError: Cannot read property 'appendChild' of null

后端 未结 10 1970
予麋鹿
予麋鹿 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:09

    put your javascript at the bottom of the page (ie after the element getting defined..)

提交回复
热议问题