Ticket #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: | ||
| Blocking: | Blocked by: |
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
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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.