(☞ຈل͜ຈ)☞ Главная  Статьи  Загрузчик Домой

Ok!
Ok!
64
function ProductsFilter(a) {

    var products = $('.catalog-item');
    $.each(products, function () {
        if($(this).find('.catalog-item-name').text().indexOf(a) > -1){
            $(this).prependTo($(".catalog-items-container"));
        }
        else{
            $(this).remove()
        }
    });
}
товары, фильтр, jquery100jQuery фильтр по товарам
1 2 3 4 5 6 7 8 9 10 11 12 13