select a particular element child in javascript code example
Example: select child javascript
Syntax
element.children
Example
Change the background color of the second child element of a <div> element:
var c = document.getElementById("myDIV").children;
c[1].style.backgroundColor = "yellow";