title: JavaScript, getting value of a td with id name
body: <p>Originally I was using input with an id and grabbing it's value with getElementById. Currently, I'm playing with <code>&lt;td&gt;</code>s. How can I grab the values of the <code>&lt;td&gt;</code>?</p>
  
  <p>Originally I used:</p>
  
  <pre><code>&lt;input id="hello"&gt;
  document.getElementById("hello").value;
  </code></pre>
  
  <p>Now I want to get value of <code>&lt;td&gt;</code>, but I don't know how;</p>
  
  <pre><code>&lt;td id="test"&gt;Chicken&lt;/td&gt;
  &lt;td&gt;Cow&lt;/td&gt;
  </code></pre>
  
  <p><strong>Edit:</strong> What's the difference between <code>textContent</code>, <code>innerHTML</code>, and <code>innerText</code>?</p>