title: jquery adding to the last tr of the first table
body: <p>I have a table structure like the one shown below:</p>
  
  <pre><code>&lt;table id="result"&gt;
  &lt;tr&gt;
  &lt;td id="groupx"&gt;
     &lt;table&gt;
     &lt;tr&gt;
     &lt;td&gt;Data&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I want to add a TD to the last tr of table result. Trying <code>x.appendTo($("#result tr:last"));</code>
  isn't working since it's adding to the last tr of a table id "group"</p>
  
  <p>Any sugestions on how I can keep using this structure of html and do this?</p>