On Dec 31, 2007, at 3:07 PM, [EMAIL PROTECTED] wrote:


How do I make the remove() occur only after the fadeOut() is finished?

$("someDiv").fadeOut(2000).remove();


Hi Jason,

Try this:

$("someDiv").fadeOut(2000, function() {
    $(this).remove();
});


--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com

Reply via email to