title: Cannot read property 'childNodes' of null while appending to a table
body: <p>I guess it will be a quite obvious answer I'll get but I really can't find it myself.</p>
  
  <p>Here's my table (I spare you all the tds)</p>
  
  <pre><code>&lt;table id="COA_Table"&gt;
      &lt;thead&gt;
          &lt;tr&gt;some th&lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;some TD&lt;/tr&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>and here is my jQuery code:</p>
  
  <pre><code>$(document).ready(function () {
      console.log("ready!");
  
      $('#COA_Table &gt; tbody:last').append('&lt;tr&gt;&lt;td&gt;&lt;input type=\"checkbox\"&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;New account&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;/tr&gt;');
  })
  </code></pre>
  
  <p>and to finish with, the error code I get:</p>
  
  <blockquote>
    <p>Uncaught TypeError: Cannot read property 'childNodes' of null </p>
  </blockquote>
  
  <p>this drives me crazy</p>