how to get added key in server side
how to get added key in server side
imurbatman12
Posts: 2Questions: 1Answers: 0
this is what my server side return
{"sEcho":0,"iTotalDisplayRecords":0,"iTotalRecords":4119,"totalQty":12,"aaData":[]}
i want to log the totalQty
var table = $('#example').DataTable({
//"order": [[ 1, "asc" ]],
"bSort" : false,
"bFilter": true,
"dom": '<"wrapper"flipt>',
"serverSide": true,
"processing": true,
"ajax": {
'type' : 'GET',
'url' : base_url+'Phoenix/ssPhoenix',
data : function(d){
d.comp = "PPH",
d.agent = $("#vwAgent").val(),
d.stat = $(".sel-stat").parent().attr("title")
},
function (data, callback, settings) {
console.log(totalQty);
}
});
i want to use that totalqty, so i want to know how to get it.
This discussion has been closed.
Answers
1