jquery + fadein callback
<p>I have written the following code to fadeout a DIV, then load a new DIV and then fadein the same DIV with the new content:</p>

<pre><code>    $('div#contentwrapper').fadeout('slow',
        function() {
            $('div#contentwrapper').load('scripts/php/home.php',
            function() {
                $('div#contentwrapper').fadein('slow');
            });
    });
</code></pre>

<p>However it never fades out/in the page.
I know the .load() is working as I've tested it on its own.
Can anyone see any mistakes in this code?</p>

<p>thx</p>
