I have divs with class “someclass”; each div has child divs with class “otherclass”.
I need to check if the divs with “otherclass” are display:none and then fadeout the parent with “someclass”
How can I do it every time I click on some checkbox on the page?
This is assuming .otherclass is a unique identifier. Also, if you want to to link these elements to the checkbox that is clicked with, say, the same class it’s a little more involved.