Skip to content
Advertisement

How to get specific element inside of element stored in variable?

I am looking for way to select element inside of already located element in variable. For example I have selected a container:

JavaScript

I know, that inside are array of a elements, which I want to select as well. Which method should I use? in jQuery there are method find(). So I need the analog for JS. Or I need to use DOM method again? Like this:

JavaScript

Advertisement

Answer

There are several ways:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement