Perfect, thank you!!

On Oct 7, 11:19 am, MorningZ <[EMAIL PROTECTED]> wrote:
> Use the "callback" of the fadeOut event
>
> http://docs.jquery.com/Effects/fadeOut#speedcallback
>
> $("#ajaxResult").fadeOut("slow", function() { $(this).html("") });
>
> On Oct 7, 2:08 pm, hubbs <[EMAIL PROTECTED]> wrote:
>
> > I have some text that is in a div that I would like to fade out, then
> > I want to clear the HTML of that div.  But, it seems that the fadeOut
> > doesn't get run before the HTML gets cleared:
>
> > setTimeout(function() {
> >                     $("#ajaxResult").fadeOut("slow").html("");
> >                 },
> >                 5000);
>
> > Did I do something wrong here?

Reply via email to