getAttributeNode() and getAttributeNodeNS() warnings

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? enter image description here

Answers:

Answer

Those 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 coming 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 coming from something else you're including on your page. Possibly CKFinder, which does seem to use that method?

Answer

It seems to me that it's an internal problem in Firefox, at least one of the warnings is fixed in https://bugzilla.mozilla.org/show_bug.cgi?id=690120 so we just have to wait and test with the new Firefox versions :-)

Answer

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

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.