title: JS: How to dynamically insert text into a SPAN?
body: <p>Without using any JavaScript frameworks, how do I dynamically change the text within a <code>SPAN</code> element.</p>
  
  <p>I know how to do this with a <code>DIV</code>, it would be the following:</p>
  
  <pre><code>document.getElementById('myDiv').innerHTML = '...'
  </code></pre>
  
  <p>What's the equivalent of this for a <code>SPAN</code> element?</p>