Uncaught TypeError: Cannot read property 'getElementsByTagName' of null

后端 未结 2 999
被撕碎了的回忆
被撕碎了的回忆 2021-02-04 03:20

I\'m trying to select elements with .getElementsByTagName().

var tags = document.body.getElementsByTagName(\"*\");

Current attemp

2条回答
  •  难免孤独
    2021-02-04 03:45

    Move the

提交回复
热议问题