Am trying to figure out how to use this appendChild to add new values to my div tag. Currently I have a div
HTML Code:
<div id="listarticles"></div>
and I am using AJAX to add values to this div however
document.getElementById("listarticles").innerHTML = response;
replaces the entire div what javascript code should I use to solve this issue. Will it be