I have many in my html and want to add more through javascript. However, using innerHTML is just replacin
innerHTML
You can use
document.getElementById("parentID").appendChild(/*..your content created using DOM methods..*/)
or
document.getElementById("parentID").innerHTML+= "new content"