JavaScript append text to div

JavaScript
var div = document.getElementById('myElementID');
div.innerHTML += "Here is some more data appended";
Source

Also in JavaScript: