Firefox警告消息

问题描述:

我的firebug与我当前的javascript代码有一个奇怪的问题

I have a weird issue with firebug with my current javascript code

我有一个带有javascript和jQuery的网页,我收到此消息:

I have a web page with javascript and jQuery and I get this message:


不推荐使用getattributenodens。使用getattributens代替

use of getattributenodens is deprecated. use getattributens instead

我使用jQuery 1.5.2和Firefox 8,我在Windows 7和XP上也遇到此错误。我也尝试了mac

I use jQuery 1.5.2 and Firefox 8, I get this error also on Windows 7 and XP. I tried mac also

我的代码中没有使用 getattributenodens

谁可以修复此错误?谢谢

Who can fix this error? Thanks

这只是一个警告,因此开发人员可以在充足的时间内更新代码。

Its just a warning, so developers can update their code with plenty of time.

你在jQuery中落后了几个版本。如果升级到当前版本(1.7.1),我认为您会发现此错误消息不再存在。

You are a fair few versions behind in jQuery. If you upgrade to the current version (1.7.1), I think you will find this error message no longer exists.

访问jQuery网站 - http://www.jquery.com

Visit jQuery Website - http://www.jquery.com

直接链接到最新版本 - http://ajax.googleapis.com/ajax/libs/ jquery / 1.7.1 / jquery.min.js

Direct link to newest version — http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js