| Cardigan Length | 119 | ' + value + '');
});
}
$(function () {
$(".wishlist").click(function (event) {
event.preventDefault();
var seg = $(this).attr('param');
$.ajax({
url: "/wishllist-add",
cache: false,
dataType: "json",
type: "GET",
data: {pr: $(this).attr('param')},
success: function (result, success) {
if (result.remove) {
$(".box-product-outer[param=" + seg + "]").hide();
}
else {
$(".wishlist[param=" + seg + "]").children().toggleClass('green');
}
}
});
});
})
|