How to send JSON data in the server side processing
How to send JSON data in the server side processing
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 !!