Bug Tracker

Opened 12 years ago

Closed 12 years ago

#9764 closed bug (invalid)

compatability - attr("ownerDocument")

Reported by: [email protected] Owned by: [email protected]
Priority: low Milestone: 1.next
Component: attributes Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:


in jQuery 1.6.2 .attr("ownerDocument") always return undefined; while 1.4.2 will return the ownerDocument correctly

Change History (2)

comment:1 Changed 12 years ago by addyosmani

Component: unfiledattributes
Owner: set to [email protected]
Priority: undecidedlow
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket just so that we're certain where and how you're using .attr('ownerDocument').

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" in the top menu.

comment:2 Changed 12 years ago by timmywil

Resolution: invalid
Status: pendingclosed

ownerDocument is not an attribute and should be retrieved with http://api.jquery.com/prop.

Note: See TracTickets for help on using tickets.