Skip to main content

Bug Tracker

Side navigation

#10559 closed bug (worksforme)

Opened October 22, 2011 04:33AM UTC

Closed November 02, 2011 12:59AM UTC

.attr() works fail in custom attribute with empty value in IE6/7

Reported by: swain Owned by:
Priority: low Milestone: 1.7
Component: attributes Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

.attr() returns undefined when attribute's value is empty in IE6/7.

ex. <div customattr=""></div>

Attachments (0)
Change History (2)

Changed October 22, 2011 04:33AM UTC by swain comment:1

Changed November 02, 2011 12:59AM UTC by timmywil comment:2

component: unfiledattributes
milestone: None1.7
priority: undecidedlow
resolution: → worksforme
status: newclosed

This is fixed in the latest jQuery. http://jsfiddle.net/timmywil/uFRq5/2/