Skip to main content

Bug Tracker

Side navigation

#5900 closed bug (invalid)

Opened January 22, 2010 03:33PM UTC

Closed June 14, 2010 12:30AM UTC

eq Selector not selecing hidden div's?

Reported by: Japhex Owned by:
Priority: major Milestone: 1.4.1
Component: unfiled Version: 1.4
Keywords: Cc:
Blocked by: Blocking:
Description

Hi guys,

I've just started using jQuery 1.4 and i'm trying to use the eq() selector. I Have a containing div, with 8 children, each div's. The first div is shown and the others are hidden. On pageload i'm attempting to do something similar to $('div div:eq(4)')....

This doesn't seem to work, however when i append it to $('div div:eq(0)')....it seems to select the first div fine.

Is this because the eq selector no longer works for hidden elements?

I'm a bit confused as i'm sure it worked before, or maybe there is a bug somewhere else, however i would have thought if it can select the first div and i'm not experiencing any other problems, maybe this is the issue itself?

Thanks guys

Jamie

Attachments (0)
Change History (1)

Changed June 14, 2010 12:30AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

There's no test case attached here so I am not sure what is going on. It might be best to start on the forum to see if anyone can help there.