jquery will not wait for animate to finish before removing, why?
<p>I was working on something simple, instead of just doing:</p>

<pre><code>$(this).next().remove();
</code></pre>

<p>I wanted it to have a bit more flare, and wanted to add an animate function</p>

<pre><code>$(this).next().slideUp().remove();
</code></pre>

<p>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.</p>

<p>Testing without the remove has the items using slideUp() correctly.</p>

<p>Is there something I am missing?</p>
