Danh Mục

‘; } html += ‘

‘ + $(element).find(‘.name’).html() + ‘

‘; html += ‘

‘ + $(element).find(‘.description’).html() + ‘

‘; var rating = $(element).find(‘.rating’).html(); if (rating != null) html += ‘

‘ + rating + ‘

‘; html += ‘
‘; html += ‘
‘; var price = $(element).find(‘.price’).html(); if (price != null) html += ‘

‘ + price + ‘

‘; html += ‘

‘ + $(element).find(‘.cart’).html() + ‘

‘; html += ‘

‘ + $(element).find(‘.wishlist’).html() + ‘

‘; html += ‘
‘; $(element).html(html); }); $(‘.display’).html(‘Hiển thị:/‘); $.cookie(‘display’, ‘list’); } else $(‘.product-list’).attr(‘class’, ‘product-grid’); $(‘.product-grid > div’).each(function(index, element) html = ”; var image = $(element).find(‘.image’).html(); if (image != null) html += ‘

‘ + image + ‘

‘; html += ‘

‘ + $(element).find(‘.name’).html() + ‘

‘; html += ‘

‘ + $(element).find(‘.description’).html() + ‘

‘; var price = $(element).find(‘.price’).html(); if (price != null) html += ‘

‘ + price + ‘

‘; var rating = $(element).find(‘.rating’).html(); if (rating != null) html += ‘

‘ + rating + ‘

‘; html += ‘

‘ + $(element).find(‘.cart’).html() + ‘

‘; html += ‘

‘ + $(element).find(‘.wishlist’).html() + ‘

‘; $(element).html(html); ); $(‘.display’).html(‘Hiển thị:/‘); $.cookie(‘display’, ‘grid’); } view = $.cookie(‘display’); if (view) display(view); else display(‘list’); //–>


Bài viết liên quan


By thanhan

One thought on “Tả món quà có ý nghĩa với em (5 mẫu) (Tập làm văn lớp 5).”

Leave a Reply

Your email address will not be published. Required fields are marked *