Get entire data from row where check box is set

Get entire data from row where check box is set

lhoffmanlhoffman Posts: 6Questions: 0Answers: 0
edited August 2013 in General
How can I get attributes of the row where there is a check box set. For instance, if the check box in column 9 is checked, I need to get the values of columns 10 and 11 to do some processing on them. Here is some test code I have been messing around with:

[code]
// this just gets the value of the checkbox - not what i need
var table = $('#searchResults').dataTable();
$("input:checked", table.fnGetNodes()).each(function(){
console.log($(this).val());
});
[/code]

Replies

This discussion has been closed.