SlideDown or SlideUp effect to set Height
<p>How can I do a <code>slideDown()</code> or <code>slideUp()</code> effect but I don't want close my <code>div</code>, I want just set the <code>height</code> but doing the <code>slideDown()</code> or <code>slideUp()</code> effect.</p>

<p><strong>Example</strong></p>

<pre><code>&lt;div id="modalNovoTicket" style="height: 600px;"&gt;&lt;/div&gt;

$("#modalNovoTicket").slideUp("slow", function () {
    $(this).css("height", "400px");
});
</code></pre>

<p><strong>Problem</strong></p>

<p>With this code, my <code>div</code> close </p>
