On 25/01/07, Vaska <[EMAIL PROTECTED]> wrote:
> I've been toying with this backwards and forwards and I can't get
> it...have tried using 'after' as well.
>
> I'm trying to append a paragraph with an ID of 'dhtml'. In the past,
> this worked, but it was not inserting the line within the paragraph...
>
> $('div#dhtml').html(html);
>
> My best guess has me thinking that this should work (inserting/
> appending the info inside of the paragraph), but it is clearly
> failing here:
>
> $('p#dhtml').append(html(html));
>
> Am I missing something obvious here?
>
> Thanks...

That would replace the html. To append:

$('#dhtml').append(html)

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to