DssTrainer
Programmer
- Jan 15, 2008
- 4
I have this code
I'd like to make a javascript that hides the child1 and child2 inside the "ParentB" parent div, but doesn't hide them in the "ParentA" div.
is this possible?
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 in the "ParentA" div.
is this possible?