title: Change content of span by id
body: <p>I am trying to change john to mike. I have no idea why its not working.</p>
  
  <pre><code>&lt;span id="user"&gt;John&lt;/span&gt;
  </code></pre>
  
  <p>I am trying this but not working i have no clue why not working.</p>
  
  <pre><code>function set() {
      document['getElementById']('user')['value'] = Owner; 
      // owner value is mike
  }
  </code></pre>