[jQuery] Chaining, and hide/fadeOut

[jQuery] Chaining, and hide/fadeOut

I'm trying to fadeOut an object and then remove it when done fading.
When I try combining the effects, the fadeOut doesn't seem to show.
Neither of these show a fade effect.
$("#obj").fadeOut("normal").remove();
OR $("#obj").hide("normal").remove();
This doesn't work either:
var x=$("#obj");
x.fadeOut("normal");
x.remove();
Getting rid of remove() shows the fade effect. I think what's happening
is that the remove() kicks in before the fade effect has completed,
making it look like it's not fading at all.
Is there a way to get this to work as a fade, and then a remove?
~ ~ Dave
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/