I have this table-like structure in my code. Is there a pretty way to select the first 'half' of the spans contained within the div?
<div>
<span></span>
<span></span>
<span></span>
<span></span>
</div>
I could do the typical div - children, then count and divide by two. But I was wondering if there was a selector based on a child interval position. Like .find("span[0-4]")