simple jQuery Chaining insight
<p>I thought I understood the chaining power of jQuery, but now I'm a little confused.</p>

<p>Using the example of fading out a DIV, and then removing it:</p>

<ul>
<li><p>By jQuery chaining logic, I should be able to do:</p>

<pre><code>$(this).parent().fadeOut(500).remove();
</code></pre></li>
</ul>

<p>But instead I have to do this:</p>

<pre><code>$(this).parent().fadeOut(500,function() { $(this).remove(); });
</code></pre>

<p>Why is that? Thanks!</p>
