The effect methods in jQuery take an optional callback parameter. The callback function is called when the animation is complete.
So you can do:
$divTarget = $(divTarget);
$divTarget.slideUp("slow", function() {
$divTarget.children("div.middle").html(stuff);
$divTarget.slideDown("slow");
});
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
