I was working on something simple, instead of just doing:
$(this).next().remove();
I wanted it to have a bit more flare, and wanted to add an animate function
$(this).next().slideUp().remove();
where it will slide up to hide the item before removing it. While testing it with Chrome, it pretty much just removes the items and doesnt accomplish the smoothe transition i was expecting.
Testing without the remove has the items using slideUp() correctly.
Is there something I am missing?
Try with callback function of
slideUp()method.