8
I have a structure like this:
<div class="container">
<span class="iconset"></span> <!-- primeiro elemento -->
<span class="iconset"></span>
</div>
<div class="container">
<span class="iconset"></span> <!-- primeiro elemento -->
<span class="iconset"></span>
</div>
I need to select the first elements of each block. If I try to get this way:
$(".container .iconset:first");
I get only 1 element, but in this example I want to get the 2 elements.
How can I do that?