title: Javascript textContent is not working in IE8 or IE7
body: <p>I need to add 2 cell content of a table and display it. Below JavaScript command works fine in chrome or IE10. <strong>But not working in IE8 or 7</strong>.</p>
  
  <pre><code>parseFloat(document.getElementById("total").textContent).toFixed(2);
  </code></pre>
  
  <p>It results,</p>
  
  <blockquote>
    <p><strong>NaN</strong></p>
  </blockquote>
  
  <p>Could you please tell me what is the <strong>equivalent command in IE7 or IE8</strong> to read cell content of a table and convert it to float then add..</p>