title: Span.innerHTML returns text but Span.value returns undefined?
body: <p>I have a function that populates a pages with something like this</p>
  
  <pre><code>&lt;span id="span_title_'+result_no+'"&gt;'+title+'&lt;/span&gt;
  </code></pre>
  
  <p>and then I have another function that has this:</p>
  
  <pre><code>      document.getElementById("span_title_"+which_table).innerHTML="asg";
  alert(document.getElementById("span_title_"+which_table).value);
  </code></pre>
  
  <p>The strange thing is the first (innerHTML) call works perfectly, the second one, the alert, gives me "<code>undefined</code>"</p>
  
  <p>Any idea why this is?</p>