This code return:
0: 100,
1: 10,
2: 120,
3: 1
I need to catch the highest and lowest value. Is there any way to do it?. I need a var min = 1
and var max = 120
var activeChoose = $('.filter--active-container').find('span[data-filter-param*="sFilterProperties"]');
activeChoose.each(function (index, value) {
if (!$($('.filter--active-container').find('span[data-filter-param*="sFilterProperties"]'))[index].attributes.style) {
$(this).each(function (fakeIndex, value) {
console.log(index + ': ' + parseInt(value.innerText));
})
}});