Get text inside Div with others elements
Hi all.
Thanks for your attention and help.
<div data-filter="*" class="cbp-filter-item-active cbp-filter-item">
Todas
<div class="cbp-filter-counter">12</div>
</div>
I use .find('div:eq(0)').text() I get all text inside this div like "Todas" and "12" but I want select or get only "Todas"
Are there a simple way or I need to use a split metthod with new lines?
thanks