jQuery: Dom Traversal (find parent and child nodes) - Beau teaches JavaScript
FBTwitterReddit
video description
Rating: 4.0; Vote: 1
jQuery makes it easy to find specific elements based on their relation to other elements. Many methods allow you to find parent and child elements.
The following methods are discussed in this video: parent, parents, parentUntil, children, find, siblings, next, nextAll, nextUntil, prev, prevAll, prevUntil.
- Code: https://codepen.io/beaucarnes/pen/Nvpweb
- Beau Carnes on
Andrew: You do realize that you are not allowed to place block level elements inside inline elements, right? I realize that that is not important for the subject of this tut/showcase, or however you want to call this. But if coders, inexperienced with html, are using this as a reference, getting things like that right is important. Dont mean to bash your vids, they are very informative for people beginning with jQuery! Date: 2022-03-14