Tuesday, 20 June 2023

how to get dom that textContent contains something text?

<div class="header circle">this is the header</div>
<div class"header circle"> this is the header of circle</div>

how to get the second dom that div textContent contains 'circle'?

I do know want to get all of the doms and then for(){} to get it.



from how to get dom that textContent contains something text?

No comments:

Post a Comment