Side navigation
#9764 closed bug (invalid)
Opened July 07, 2011 02:47AM UTC
Closed July 07, 2011 01:55PM UTC
compatability - attr("ownerDocument")
Reported by: | justnewbee@gmail.com | Owned by: | justnewbee@gmail.com |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | attributes | Version: | 1.6.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
in jQuery 1.6.2 .attr("ownerDocument") always return undefined; while 1.4.2 will return the ownerDocument correctly
Attachments (0)
Change History (2)
Changed July 07, 2011 06:33AM UTC by comment:1
component: | unfiled → attributes |
---|---|
owner: | → justnewbee@gmail.com |
priority: | undecided → low |
status: | new → pending |
Changed July 07, 2011 01:55PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | pending → closed |
ownerDocument is not an attribute and should be retrieved with http://api.jquery.com/prop.
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.