title: jQuery remove last table column
body: <p>I currently have a table that can be N columns and N rows. In the interface I have a button to remove the last column, but I can't figure out how to remove the last <code>td</code> from all the rows, what I've achieved so far is to remove the first row <code>td</code>and the last row <code>td</code>, but leave the others there.</p>
  
  <p>Here is my code (only deletes the last title currently):</p>
  
  <pre><code>function removeTableColumn() {
      /*
          removeTableColumn() - Deletes the last column (all the last TDs).
      */
      $('#tableID thead tr th:last').remove(); // Deletes the last title
      $('#tableID tbody tr').each(function() {
          $(this).remove('td:last'); // Should delete the last td for each row, but it doesn't work
      });
  }
  </code></pre>
  
  <p>Am I missing something?</p>