How to get only the first layer of children #55
-
<div class="x">
<div class="y1">
<div class="z"></div>
<div class="z"></div>
<div class="z"></div>
</div>
<div class="y2">
<div class="z"></div>
<div class="z"></div>
<div class="z"></div>
</div>
</div> For example, I only want the |
Beta Was this translation helpful? Give feedback.
Answered by
grayfallstown
Jan 2, 2023
Replies: 1 comment
-
Use
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
oovm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use
top()
instead ofall(parser)