I am using jquery data table and want to combine aoData with form serialize data using jquery.
fnServerData: function(sSource, aoData, fnCallback,oSettings) {
aoData.concat( $("#frm").serializeArray());
console.log(aoData);
$.ajax( {
"dataType": 'json',
"type": "POST",
"url": 'sSource',
"data": aoData,
"success": fnCallback
} );
}
But doesn't combine and return only data table's array response.
Can you please help me out how can we do that ?
Thanks