javascript - Uncaught TypeError: Cannot read property 'getElementsByTagName' of null -
I'm trying this but .getElementsByTagName () is used, an error Generated:
var tag = document.body.getElementsByTagName ("*"); Uncaught TypeError: Why is this error producing, and how can I fix it?
"post-text" itemprop = "text">
document body Will not be assigned unless the body element is created.
and element
& lt; Script & gt; element
window
load events).
Comments
Post a Comment