title: how to get the row containg a checked checkbox from a JQuery DataTable
body: <p>I need to get the values from the hidden column of a Jquery Datatables where the checkbox has been selected (in the first visible column). So far I've got</p>
  
  <pre><code>bodytable$ = $('#dataTable').dataTable({
      "bJQueryUI" : true,
      "bPaginate" : true,
  
      "bSort" : false,
      "bFilter": false,       
      "aoColumns": [{"bVisible": false},
                    {"bVisible": true},
                    {"bVisible": true},
                    {"bVisible": true}],
  
      "oLanguage": {
          "sEmptyTable": '',
          "sInfoEmpty": '',
          "sZeroRecords": ''
      }
  });
  </code></pre>
  
  <p>and I'm getting the values from the hidden column with</p>
  
  <pre><code>    var checkIds = [];
  
      $('input[type="checkbox"]:checked', bodytable$.fnGetNodes()).each(function(i){
          var tr = $(this).closest('tr');
          var rowData = bodytable$.fnGetData(tr);
          checkIds.push(rowData[0]);
      });
      alert(checkIds);
  </code></pre>
  
  <p>This fails on the line 
      var rowData = bodytable$.fnGetData(tr);
  with Firefox debug giving the error message TypeError: a.nodeName is undefined</p>
  
  <p>I have to go through the DataTable API because the hidden column doesn't actually appear in the html loaded into the browser and, because I want to be able to select the data values when the selected checkboxes aren't on the same page.</p>
  
  <p>Following on from mainguys response, and using CSS to hide the column instead of the bVisible property, I can now get what I want with;</p>
  
  <pre><code>    var checkIds = [];
      $('input[type="checkbox"]:checked', bodytable$.fnGetNodes()).each(function(i){
          var tr = $(this).closest('tr');
          checkIds.push($(tr).find('td:eq(0)').text());
      });
      alert(checkIds);
  </code></pre>