Cannot read property 'getElementsByTagName' of null解决办法

问题:浏览器 在浏览器中调试js代码出现“Cannot read property 'getElementsByTagName' of null”错误。调试 解决方法:blog 使用xxx.getElementsByTagName须要给xxx添加一个id属性。get
相关文章
相关标签/搜索