Ticket #5900 (closed bug: invalid)
eq Selector not selecing hidden div's?
|Reported by:||Japhex||Owned by:|
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?