How to send JSON data in the server side processing

How to send JSON data in the server side processing

Balan GovindarajBalan Govindaraj Posts: 1Questions: 1Answers: 0
edited July 2015 in Free community support

Hi,

Currently, the data has been sent as object. I want to send the json data in the server side processing. Is there a workaround for this to achieve this

$(document).ready(function() {
$('#example').dataTable( {
"processing": true,
"serverSide": true,
"ajax": {
"url": "scripts/server_processing.php",
"data": function ( d ) {
d.myKey = "myValue";
// d.custom = $('#myInput').val();
// etc
}
}
} );
} );

Thanks in advance !!

This discussion has been closed.