admin管理员组文章数量:1279124
My page opens properly but in FF I'm continuously getting warning
[10:44:54.904] Use of getAttributeNode() is deprecated. Use getAttribute() instead. @ http://localhost/admin/?page=add#
[10:46:23.828] Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead. @ http://localhost/admin/?page=add
Btw i'm using CKeditor. What does mean that warning? and how to fix it?
My page opens properly but in FF I'm continuously getting warning
[10:44:54.904] Use of getAttributeNode() is deprecated. Use getAttribute() instead. @ http://localhost/admin/?page=add#
[10:46:23.828] Use of getAttributeNodeNS() is deprecated. Use getAttributeNS() instead. @ http://localhost/admin/?page=add
Btw i'm using CKeditor. What does mean that warning? and how to fix it?
Share Improve this question asked Oct 17, 2011 at 5:52 heronheron 3,67925 gold badges85 silver badges151 bronze badges 1- 1 I'm getting the same warning using Mootools 1.4.5 (latest at the time of writing) in Joomla 3.1 – alexismorin Commented Jul 9, 2013 at 19:33
3 Answers
Reset to default 5Those two methods are deprecated in Firefox 7 because they have been removed in DOM4, the current version of the DOM spec. It is likely that eventually they will be removed from Firefox and possibly other browsers.
If the warnings are ing from CKEditor code, I'm sure the CKEditor team will be aware of this and release an update at some point that does not use these methods. However, I couldn't find any use of this method in CKEditor's source code, so it's more likely to be ing from something else you're including on your page. Possibly CKFinder, which does seem to use that method?
It seems to me that it's an internal problem in Firefox, at least one of the warnings is fixed in https://bugzilla.mozilla/show_bug.cgi?id=690120 so we just have to wait and test with the new Firefox versions :-)
Use of getAttributeNode()
is deprecated. Use getAttribute()enter code here
instead. @ http://localhost/admin/?page=add#
Use of getAttributeNodeNS()
is deprecated. Use getAttributeNS()
instead. @ http://localhost/admin/?page=add
本文标签: javascriptgetAttributeNode() and getAttributeNodeNS() warningsStack Overflow
版权声明:本文标题:javascript - getAttributeNode() and getAttributeNodeNS() warnings - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741225868a2361846.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论