You could try $('#div_container').hide(this).append('<p>hi there!</
p>').show('slow');

On Jun 20, 2:03 pm, Eric P <eric.maill...@gmail.com> wrote:
> Hi,
>
> I'm guessing this is an easy question, but I can't figure it out.
>
> I want to add some new content to the DOM, so I have a line like this.
> $('#div_container').append('<p>hi there!</p>');
>
> However, I'd like it to slowly appear via show().
>
> But adding show() doesn't work as I'd expect.  The new content appears 
> instantly.
> $('#div_container').append('<p>hi there!</p>').show('slow');
>
> Thanks for reading,
> Eric P

Reply via email to