oh yes! the ol' callback function... thanks for answering!
On Dec 31, 12:41 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > 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 Swedbergwww.englishrules.comwww.learningjquery.com