I have this code
<div id="parentA">
<div id="child1"></div>
<div id="child2"></div>
</div>
<div id="parentB">
<div id="child1"></div>
<div id="child2"></div>
</div>
I'd like to make a javascript that hides the child1 and child2 inside the "ParentB" parent div, but doesn't hide them...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.