Skip to main content

Bug Tracker

Side navigation

#9253 closed bug (wontfix)

Opened May 12, 2011 10:45AM UTC

Closed May 12, 2011 02:13PM UTC

prop() Inconsistant in IE7,8

Reported by: anonymous Owned by:
Priority: low Milestone: 1.next
Component: attributes Version: 1.6
Keywords: Cc:
Blocked by: Blocking:
Description

http://jsfiddle.net/aNgzu/

Try this sample in IE7,8 and FF or Chrome, the value of .prop() is not consistant.

Test in 1.6 and 1.6.1 RC1

Attachments (0)
Change History (1)

Changed May 12, 2011 02:13PM UTC by timmywil comment:1

component: unfiledattributes
priority: undecidedlow
resolution: → wontfix
status: newclosed

Thanks for taking the time to contribute to the jQuery project!

This is not really of consequence since you want to retrieve the attribute instead of the property. Custom attributes may or may not be reflected by a property depending on the browser. If you need it to be a property, you can set it with prop, but in the use case you've provided, .attr("age") will be consistent across browsers and that is what you want to retrieve.