I have a div that I want to remove using remove (). I want to show animation before / during the removal of a div. I could only show the animation by hiding the div.
If I want to show the animation, then delete (). How it's done?
Code so far:
//Delete Button - delete from cart $('.ui-icon-trash').live('click',function() { $(this).closest('li').hide("puff", {}, 1000) });
jquery jquery-animate
user342391
source share