title: Display innerHTML of child
body: <p>i have:</p>
  
  <pre><code>&lt;td id="td1"&gt;
       &lt;div&gt;
            aaaaaa
       &lt;/div&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>how can i get the innerHTML of the child of "td1" ?</p>
  
  <pre><code>function displaymessage() {
      var i = 0;
      alert(document.getElementById("td1").childNodes[0].innerHTML);
  }
  </code></pre>
  
  <p>dosen't work.</p>