2008/4/26, Christoph Zwerschke <[EMAIL PROTECTED]>:
>
>
> Decebal schrieb:
>
> > At the moment I do not want HTML-tags in commentText to work, but if I
> > wanted that: how would I do that?
>
>
> Or use innerHTML, like that:
>
> p = P({'class' : 'commentText'})
> p.innerHTML = "hello<br>world"
> appendChildNodes(commentDiv", p);That would be the way when I need it. (The HTML-tags will be coming from the server.) But I thought that the use of innerHTML was frowned upon, or is that not the case? -- Cecil Westerhof --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

