jQuery effect "Add item to cart/my list"

1
2
$('.add-to-list').on('click', function () {
var cart = $('.my-list');
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Use with this html :
<div><i class="my-list"></i></div>
...
<div class="item">
<img class="cover_mini" src="..."/></a>
<a class="add-to-list" href="javascript:void(0);" id="42">Add to list</a>
</div>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.