title: Javascript:DIV AppendChild
body: <p>In the below code <code>"objTo"</code> is a div to which i need to insert multiple number of div.
  when i use the code for the first time its working.but on the next time its overwriting      the existing code.</p>
  
  <pre><code>     &lt;script&gt;
  
  var divtest= document.createElement("div");        
  divtest.innerHTML = "&lt;div&gt;new div&lt;/div&gt;"         
  objTo.appendChild(divtest)
      &lt;/script&gt;
  </code></pre>
  
  <p>Where am i going wrong?</p>