Consider the following snippet:
$('.remove_item').click(function(e) { var _item = $(this).closest('.cart_item'); if(confirm('Biztosan törölhetem a terméket a kosárból?')) { _item.effect('highlight', {}, 100).stop().fadeOut('fast'); _item.remove(); ...
I would like to highlight the actual line before the notch ( .remove() ). If I do not have a .remove() element, highlight the work.
How can I select first and then delete an item?
jquery jquery-ui
fabrik
source share