title: remove last and eight table cell in all tables row with jQuery
body: <p>I have a table where I want to remove the eight table cell in all rows in my table. I cant use last since I have rows with just one cell - I want to remove the eight table cell if theres that amount. How Do I do this with jquery? </p>
  
  <p>I started with removing last:</p>
  
  <pre><code>$('myTable tr:last').remove();
  </code></pre>
  
  <p>But that obviously didn't work - so Im stuck. </p>
  
  <pre><code>&lt;table class="mytable"
   &lt;tbody&gt;
    &lt;tr&gt;
     &lt;td class="image"&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
     &lt;td class="image"&gt;&lt;/td&gt;
     &lt;td class="image"&gt;&lt;/td&gt;
     &lt;td class="stockinfo"&gt;&lt;/td&gt;
     &lt;td class="stockinfo"&gt;&lt;/td&gt;
     &lt;td class="priceinfo"&gt;&lt;/td&gt;
     &lt;td class="addinfo"&gt;&lt;/td&gt;
     &lt;td class="addinfo"&gt;&lt;/td&gt;
     &lt;td class="addinfo"&gt;&lt;/td&gt; &lt;----remove
    &lt;/tr&gt;
    &lt;tr&gt;
     &lt;td class="image"&gt;&lt;/td&gt;
     &lt;td class="image"&gt;&lt;/td&gt;
     &lt;td class="stockinfo"&gt;&lt;/td&gt;
     &lt;td class="stockinfo"&gt;&lt;/td&gt;
     &lt;td class="priceinfo"&gt;&lt;/td&gt;
     &lt;td class="addinfo"&gt;&lt;/td&gt;
     &lt;td class="addinfo"&gt;&lt;/td&gt;
     &lt;td class="addinfo"&gt;&lt;/td&gt;  &lt;----remove
    &lt;/tr&gt;
   &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>