adding data into a <div tag via javascript 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";