Bug Tracker

Modify

Ticket #3931 (closed bug: worksforme)

Opened 4 years ago

Last modified 4 years ago

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

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to worksforme

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.