Bug Tracker

Opened 13 years ago

Closed 13 years ago

#5900 closed bug (invalid)

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:


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


Change History (1)

comment:1 Changed 13 years ago by dmethvin

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.

Note: See TracTickets for help on using tickets.