Modify ↓
Ticket #3931 (closed bug: worksforme)
class selector issue (not id... class)
| Reported by: | lami | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3.1 |
| Component: | unfiled | Version: | 1.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Below code should hide the NEXT "div" layer contained inside a div layer with class "boxed", and do vice-versa when the layer has class "box".
show areas with class 'box' $('div.box > div').show();
show areas with class 'boxed' $('div.boxed > div').hide();
Instead this code closes everything after the first div layer with class "boxed" is encountered (everything dissappers).
FYI... It works fine when I use Id, but I'm using the Id for other things
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.
Note: See
TracTickets for help on using
tickets.

This seems to work for me in 1.3.2; reopen with a test case if it's still not working for you.