I basically need to check if a given div exists inside a list, the structure looks like this:
<div class="content" id="divCheck">
<div class="filho" value="1"></div>
<div class="filho" value="2"></div>
<div class="filho" value="3"></div>
</div>
<div class="content">
<div class="filho" value="1"></div>
<div class="filho" value="2"></div>
<div class="filho" value="3"></div>
</div>
How can I check if there is an element with a value in the div with divCheck
? Is it correct to each
in this div or to do this with a simple%