Modify ↓
Ticket #9764 (closed bug: invalid)
compatability - attr("ownerDocument")
| Reported by: | justnewbee@… | Owned by: | justnewbee@… |
|---|---|---|---|
| Priority: | low | Milestone: | 1.next |
| Component: | attributes | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
in jQuery 1.6.2 .attr("ownerDocument") always return undefined; while 1.4.2 will return the ownerDocument correctly
Change History
comment:1 Changed 23 months ago by addyosmani
- Owner set to justnewbee@…
- Priority changed from undecided to low
- Status changed from new to pending
- Component changed from unfiled to attributes
comment:2 Changed 23 months ago by timmywil
- Status changed from pending to closed
- Resolution set to invalid
ownerDocument is not an attribute and should be retrieved with http://api.jquery.com/prop.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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.