setTimeout(function(){ $('#div').fadeOut('slow'); }, 2000); ...fades out #div after 2 seconds.
On Nov 22, 9:53 am, guix69 <[EMAIL PROTECTED]> wrote: > Hello all ! > > I have a DIV which I update after an ajax form submit (form plugin). > This DIV is filled with a message like "Your details have been saved". > I would like to fade out the text in this DIV after a few seconds. > How can I do that ? > > Thanks ! > G.