how to append to a object with innerHTML
javascript
Solution
document.getElementById('mydiv').innerHTML = 'stuff'
document.getElementById('mydiv').innerHTML += 'and things'
document.getElementById('mydiv').innerHTML += 'and even more'
Problem
Is there a way to add information to a DOM object with .innerHTML without replacing what exists there? For example: `document.getElementById('div').innerHTML = 'stuff';` Would return `<div id="div">stuff</div>` And then a similar call: `document.getElementById('div').innerHTML = ' and things';` Would set the div to `<div id="div">stuff and things</div>`