Check out example codes for "javascript append". It will help you in understanding the concepts better.
Code Example 1
$("button").click(function(){
$("p").append("<b>Appended text</b>");
});
Code Example 2
var node = document.createElement("LI"); // Create a <li> node
var textnode = document.createTextNode("Water"); // Create a text node
node.appendChild(textnode); // Append the text to <li>
document.getElementById("myList").appendChild(node); // Append <li> to <ul> with id="myList"
Code Example 3
convert string to byte
Code Example 4
tRevisZoneImport.Zone_ZCMC0001 With {
Learn ReactJs, React Native from akashmittal.com