Modify ↓
Ticket #148 (closed bug: fixed)
XPath query with context node doesn't work anymore.
| Reported by: | ieure | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0 |
| Component: | core | Version: | 1.0 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I've been doing this with jQuery SVN and 1.0a:
$('../../..', this);
To get the great-grandparent of the current node. It doesn't work in jQuery 1.0; I get this error in my JS console:
Error: m has no properties Source File: http://my.site.com/javascript/jQuery.js Line: 691
$(this).parent().parent().parent(); works, but is overly verbose.
Change History
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.

Fixed in SVN rev 244.