How to pull out aoData from the request
How to pull out aoData from the request
I need to pass in additional data to the server. I've added the data to the aoData object. In my Java server side code I expected there to be a parameter called aoData in order to retrieve the data but there is no such parameter. How do you pull the extra data out the request on the server side?
function doSearch() {
var dataTableObj = $("#assets").dataTable();
dataTableObj.fnSettings().bProcessing = true;
dataTableObj.fnSettings().aoData.push({"pcn" : "AAFG0679"});
dataTableObj.fnSettings().sAjaxSource = '';
dataTableObj.fnDraw();
}
function doSearch() {
var dataTableObj = $("#assets").dataTable();
dataTableObj.fnSettings().bProcessing = true;
dataTableObj.fnSettings().aoData.push({"pcn" : "AAFG0679"});
dataTableObj.fnSettings().sAjaxSource = '';
dataTableObj.fnDraw();
}
This discussion has been closed.
Replies