But the text to insert contains some HTML elements that must get properly handled.
When using the official way (at least the one I can imagine), e.g.
document.getElementById(“NewsHeadline”).childNodes.nodeValue=“Here is some important content to read.”
the HTML elements are printed “as is” and not processed.
However trying the dirty trick with innerHTML, e.g.
document.getElementById(“NewsHeadline”).innerHTML=“Here is some important content to read.”
anything is fine and “bold” text appears bold.
But I’m aware that innerHTML is not officially supported by the language standards.
Any hint is appreciated
freewaytalk mailing list
Update your subscriptions at: