[jQuery] Re: Nested :eq selector issue?

2009-10-27 Thread vtjiles
I just tested against 1.2.6 and it works. Would this now be considered a bug in Sizzle?

[jQuery] Re: Nested :eq selector issue?

2009-10-27 Thread vtjiles
This is the entire html. I would expect it would return the HTML tag as it does with :first, but it errors on the second alert when using :eq(0) $().ready(function() { alert($("*:has(BODY > *:first)").eq(0)[0].tagName);

[jQuery] Re: Nested :eq selector issue?

2009-10-26 Thread Charlie
I think you'll do better at getting responses with an html example of what you are trying to find. vtjiles wrote: Shouldn't :first be the same as :eq(0)? I set up a basic test page with one div in the body. I ran the following statements to get the HTML element and the first works, but