【发布时间】:2011-08-21 11:47:52
【问题描述】:
我已经做了一个页面here
在 1.5 版中运行良好
现在 1.6 我在 firebug 中遇到这个错误
elem.getAttribute is not a function
[Break On This Error] ret = elem.getAttribute( name );
和chrome几乎一样
Uncaught TypeError: Object #<HTMLDocument> has no method 'getAttribute'
如何改正?? 我是否必须像在 jquery 1.6 api 中那样更改所有内容以支持 http://api.jquery.com/prop/
【问题讨论】:
-
导致错误的jQuery调用是什么?
-
我不知道是什么导致了问题???
标签: jquery attributes prop