Сообщество IT-специалистов
Ответы на любые вопросы об IT
Профессиональное развитие в IT
$('.item') .filter(function(index) { return index%10 === 0; }).each(function(index, element) { myFunc(); }); $('.item') .filter(function(index) { return index%10 !== 0; }).each(function(index, element) { myObj.myMethod(this); });