JavaScript Get Child Element by Parent ID
parent = document.querySelector('.parent');
children = parent.children; // [<div class="child1">]
Tough Tiger
parent = document.querySelector('.parent');
children = parent.children; // [<div class="child1">]
parent = document.getElementById('parent_id');
child = parent.querySelector('.className');