title: reload contents of div using javascript
body: <p>I'm trying to reload the contents of <code>div</code> tag on button-click. I can do it with using:</p>
  
  <pre><code>function reload_div()
  {   
      document.getElementById('div_id').innerHTML = 'blah blah blah';
  }
  </code></pre>
  
  <p>but the problem is, that <code>div</code> tag contains thousands of lines and when I try to acomplish the div-reloading with previous function, the browser will be freezed. I was searching for a solution on stackoverflow but all what I found is with using ajax or jquery and I haven't used those library before. So, can I reload the div contents using javascript and html only? Thanks.</p>