3
Considering this structure:
<div id="PAI">
<div uniqid="1" class="filho">A</div>
<div uniqid="2" class="filho">A</div>
<div uniqid="3" class="filho">A</div>
<div uniqid="4" class="filho">A</div>
<div uniqid="5" class="filho">A</div>
</div>
I need to get the number div uniqid = 5
ie always the last of the div with id PAI
how to do?
last element/object or last "div" ? may happen to exist other elements within a div, e.g., a <span>, an anchor <a>, an Row <hr>
– Daniel Omine
@Danielomine the last object will follow the model I demonstrated above always being a div with such attributes but they will always be filled with other elements..
– Vinícius Lara