I worked on something simple, and not just:
$(this).next().remove();
I wanted it to have a little more flash, and I wanted to add an animation function
$(this).next().slideUp().remove();
where it will slide to hide the item before deleting it. By testing it with Chrome, it pretty much just removes the items and doesn't perform the smoothed transition I was expecting.
Testing without deletion has elements using the slideUp () function.
Is there something I am missing?
source
share