IE9 AngularJs问题:无法获得属性值'节点名称':对象为空或undefinedundefined
问题描述:
当页面正在加载中IE9角JS收到此错误。没有问题与CHROM / FF。
Getting this error when a page is being loaded with angular js in IE9. No issues with Chrom/FF.
无法获得属性'节点名称'的值:对象为null或undefinedundefined
"Unable to get value of the property 'nodeName': object is null or undefinedundefined"
将help.I认为这任何指针被固定为角的js 1.0.1版本的一部分。
Any pointers would help.I thought this was fixed as part of Angular js 1.0.1 release.
答
我在IE9得到这个错误时,我不小心有以下非法的标记。
I got this error in IE9 when I accidentally had the following illegal markup.
<table>
<h3>foo</h3>
..... blah
</table>
或许运行HTML皮棉,以确保你没有违反任何规则这样的。
Maybe run a html lint to make sure you're not violating any rules like that.