[jQuery] Re: Xpath Plugin: Child Selector Predicate Support [\d+]

2008-09-19 Thread John Boxall
Wow! Thanks Karl. If anyone is interested the quick fix using Karl's suggestion is to edit the xpath plugin - look for this line: // Naively convert [elem] into :has(elem) selector = selector.replace(/\[([EMAIL PROTECTED])\]/g, function(m, selector){ return ":has(" + selector + ")"; });

[jQuery] Re: Xpath Plugin: Child Selector Predicate Support [\d+]

2008-09-18 Thread Karl Swedberg
you could use the :eq() selector: http://docs.jquery.com/Selectors/eq#index --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 18, 2008, at 1:42 PM, John Boxall wrote: Hey Jquery hackers: I'm doing some work with the Xpath plugin and I notice it doesn't