title: How to display document.write in a specific div with specific id?
body: <p>I want to display my <code>document.write("something important");</code></p>
  
  <p>into a specific <strong>div</strong> with specific <strong>id</strong>. </p>
  
  <p>Im my HTML, I have a div <code>&lt;div class="col-lg-4" id="print"&gt; ... &lt;/div&gt;</code></p>
  
  <p>In my JavaScript, I have a loop.</p>
  
  <pre><code>for(var i = 0; i &lt; L; i++) {
  
    document.write(
  
      navigator.plugins[i].name +
      " | " +
      navigator.plugins[i].filename +
      " | " +
      navigator.plugins[i].description +
      " | " +
      navigator.plugins[i].version +
      "&lt;br&gt;&lt;hr&gt;&lt;br&gt;"
    );
  }
  </code></pre>
  
  <p>What is the most efficient way to display them in my div ?</p>