jQuery: callback doesn't work right
<p>I'm new to jQuery so forgive me (and correct me too please) if I say something wrong here.</p>

<p>I have this code and the callback is being executed right the moment the element is clicked, and not after the slideUp has finished:</p>

<pre><code>$('.close-button').click(function(){
    $('.click-menu div').slideUp(3000, function() {
        $('.generic-box a, .generic-box p').css('z-index','1');
    });     
});
</code></pre>

<p>Am I missing something?</p>

<p>Any help would be greatly appreciated.</p>

<p>Thanks.</p>
