append script to domelement code example
Example: JavaScript append text to div
var div = document.getElementById('myElementID');
div.innerHTML += "Here is some more data appended";
var div = document.getElementById('myElementID');
div.innerHTML += "Here is some more data appended";