title: jQuery selector only selecting the last checkbox column but should select all checkboxes?
body: <p>I'm trying to highlight the entire row when a user checks any checkboxes inside the <code>&lt;table&gt;</code>.  I'm using the "dataTable" plugin for jquery.</p>
  
  <p>I'm able to get part of this working the way I want it.  Currently the far right, or last column that have "checkboxes" get the selector applied to it.  So, when I check a box (either the check_all box in the "th" or a checkbox in the "td" it highlights the row properly.  But if I check any checkbox in the 2nd to last column nothing happens.  It's acting like the selector didn't get applied here.</p>
  
  <p>I don't understand what's wrong with my jQuery.</p>
  
  <p>Here's my jquery:</p>
  
  <pre><code>//SELECTED ROW HIGHLIGHT
  $("table.datatable_ss").delegate("input:checkbox", "click", function( e ) {
      //Search the body for any checked input boxes and highlight the row
      $("table.datatable_ss tbody [type=checkbox]").each(function(){
              if ( $(this).is(":checked") ) {
                  $(this).closest("tr").addClass("row_selected");
              }
              else {
                  $(this).closest("tr").removeClass("row_selected");
              }
      });
  });
  </code></pre>
  
  <p>Heres the html:</p>
  
  <pre><code>&lt;table class="datatable_ss"&gt;
      &lt;thead&gt;
           &lt;tr&gt;
          &lt;th&gt;Suite&lt;/th&gt;
          &lt;th&gt;Location&lt;/th&gt;
          &lt;th&gt;Status&lt;/th&gt;
          &lt;th&gt;Date&lt;/th&gt;
          &lt;th&gt;&lt;input type="checkbox" name="_arch_chbx_checkall"&gt;&lt;/th&gt;
          &lt;th&gt;&lt;input type="checkbox" name="_del_chbx_checkall" &gt;&lt;/th&gt;
           &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr class="odd"&gt;
              &lt;td class=" sorting_1"&gt;Suite 301&lt;/td&gt;
              &lt;td&gt;Mainstreet Plaza&lt;/td&gt;
              &lt;td&gt;Active&lt;/td&gt;
              &lt;td&gt;06/01/2012&lt;/td&gt;
              &lt;td&gt;
                  &lt;input type="checkbox" class="input_editible" name="_arch_chbx" id="9_L_arch_chbx"&gt;
              &lt;/td&gt;
              &lt;td&gt;
                  &lt;input type="checkbox" class="input_editible" name="_delete_chbx" id="9_L_del_chbx"&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>