#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: | ||
Blocked by: | Blocking: |
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.
Note: See
TracTickets for help on using
tickets.
Fixed in SVN rev 244.