+ 1

Im really having a hard time with understanding the child.node.

is this because there isn't the full script?

13th Jul 2018, 10:04 PM
Alyssa Knowlton
Alyssa Knowlton - avatar
2 odpowiedzi
+ 3
Well, maybe. What do you not understand about child nodes in DOM? Have you tried making a code with said elements? Did something not work as you expected?
14th Jul 2018, 5:08 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
you can manage the childNodes as an array of DOM elements, example: var c = document.getElementById("anElementId").childNodes[1].text;
14th Jul 2018, 11:35 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar