Bug Tracker


Ticket #148 (closed bug: fixed)

Opened 8 years ago

Last modified 7 years ago

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:


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

comment:1 Changed 8 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in SVN rev 244.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.