get data from table cell ID
<p>I have the following table. What do i need to use in JavaScript to read the number from the below cell named "number"?</p>

<pre><code>&lt;table&gt;
&lt;tr&gt;
&lt;td id="number"&gt;56656.87&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p>I have tried the following however it does not work.</p>

<pre><code>document.getElementById('number');
</code></pre>
