Is there a difference between this two ways of doing callbacks (jQuery)?
<p>I'm just starting to learn jQuery and I've seen this. I don't know if there is any difference or which one would be better.</p>

<pre><code>myDiv.fadeOut('fast', function() {
    myDiv.removeClass('slide');
});
</code></pre>

<p>And</p>

<pre><code>myDiv.fadeOut('fast').removeClass('slide');
</code></pre>