I am retrieving table row data like this from a HTML table.
var descriptions = [];
var testRows = $(\'#tbl\').find(\'tbody\').find(\'tr\');
$this = $(this);
I retrieved the data using fnGetNodes API method.
var descriptions = [];
var _testDesc;
var dt = $("tbl").dataTable();
var dtNodes = dt.fnGetNodes;
var dtNodeCount = dtNodes.length;
for (var i = 0; i < dtNodeCount; i++) {
var description = $(dtNodes[i].cells[2].innerHTML).val();
descriptions.push(description);
}
var descriptions = [];
var _testDesc;
var dt = $("tbl").dataTable();
var dtElementCollection = dt.DataTable.settings[0].aoData;
var dtECLength = dtElementCollection.length;
for (var i = 0; i < dtECLength; i++) {
var description = dtElementCollection[i]._aData[2];
_testDesc = $(description).val();
descriptions.push(_testDesc);
}