I have an element in javascript and I want to add some text to it:
element
Line 1 code: element.appendChild(document.createTextNode(A_String);
element.appendChild(document.createTextNode(A_String);