jQuery - Waiting for the fadeOut to complete before running fadeIn
<p>I was wondering if the is any way to wait until the fadeOut is complete before the fadeIn commences, as when i run the following code, it places one div under the other, then when its faded out it moves up ... looks a little ugly.</p>

<p>Code is as follows:</p>

<pre><code>$('.sidebarform').fadeOut('slow');
$('.sidebarsuccess').fadeIn('slow');
</code></pre>
