set data in div using 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";