title: How to get rows of specific table and cells of specific row only
body: <p>I have table with id <code>parentTable</code>. Also there is child table in the third column of every row. When i count the length of rows of parent table it gives me sum of rows of parent and child table. Also this happens with the tds. How do i achieve this for getting/iterating rows of parent table only and interating tds of parent rows only. I tried <code>$('parentTable &gt;tbody&gt;tr')</code> but not worked for me. Please assist. Below is the sample.</p>
  
  <pre><code>   &lt;table id="parentTable"&gt;&lt;tr&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;
        &lt;table&gt;
         &lt;tr&gt;
        &lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;
        &lt;/tr&gt;
         &lt;tr&gt;
        &lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;
        &lt;/tr&gt;      
       &lt;/table&gt;
    &lt;/td&gt;
      &lt;/tr&gt;
  &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;
         &lt;table&gt;
         &lt;tr&gt;
        &lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;
        &lt;/tr&gt;
         &lt;tr&gt;
        &lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;/td&gt;
        &lt;/tr&gt;      
       &lt;/table&gt;
    &lt;/td&gt;
      &lt;/tr&gt;
     &lt;/table&gt;
  </code></pre>