Bug? attr(name) return false in IE8

Bug? attr(name) return false in IE8


I think I found a bug with attr(name) using jQuery 1.3.2, I think IE8
is returning "false" when the element does not have an attribute with
such a name. The attr(name) suppose to return "undefined" according to
the documentation, http://docs.jquery.com/Attributes/attr, and it
works as expected in Mozilla Firefox 3.5.2
I did a quick search on Google and on jQuery Bug Tracker, didn't find
anything strongly relevant to attr(name) in IE8 returning "false".
Example:
if($(ele).attr('disabled') !== undefined) {
// Do something.
}
Sincerely,
William Chang
http://www.williamchang.org
http://www.babybluebox.com