+ 1
Hi everyone, what is the difference between a "child" and a "descendant" in Jquery and Javascript ???
Elements relation (children, parent, descendant)
2 Respostas
+ 2
A child is a direct descendant (one level below) a parent element. A descendant could also be second, third or any level below a parent element (grandchild, ...)
+ 1
Thanks and Happy New Year 🥂