Hi, I have a problem selecting these divs with jquery and what I want is to select the div of attach_preview row
. Until there good. The problem is that I want to take the div that just has the id of the last div that is inside.
Here I show you the HTML:
<div class="attach_preview row">
<div class="cl_12 row padding_bottom0_5">
<div class="ftl" id="itemID-OT_5572400-1">
</div>
</div>
</div>
These divs are dynamically created with what when creating each one is put with a different id. Already having the code that I pass it in a variable as I can select the first div to empty it and leave it blank.
Greetings and thank you very much.