IE9 AngularJs 问题:无法获取属性“nodeName"的值:对象为 null 或 undefinedundefined [英] IE9 AngularJs issue:Unable to get value of the property 'nodeName': object is null or undefinedundefined
本文介绍了IE9 AngularJs 问题:无法获取属性“nodeName"的值:对象为 null 或 undefinedundefined的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 IE9 中使用 angular js 加载页面时出现此错误.Chrom/FF 没有问题.
Getting this error when a page is being loaded with angular js in IE9. No issues with Chrom/FF.
无法获取属性 'nodeName' 的值:对象为 null 或 undefinedundefined"
"Unable to get value of the property 'nodeName': object is null or undefinedundefined"
任何指针都会有所帮助.我认为这已作为 Angular 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 lint 以确保您没有违反任何此类规则.
Maybe run a html lint to make sure you're not violating any rules like that.
这篇关于IE9 AngularJs 问题:无法获取属性“nodeName"的值:对象为 null 或 undefinedundefined的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文