How can I recieve custom vars from server?
How can I recieve custom vars from server?
mps_sudipta
Posts: 4Questions: 0Answers: 0
Like the example where we can send custom vars to the server, how can I receive some additional json vars sent by server? I need to change the datatables rendering based on some serverside settings, but as I need those only while I draw/redraw the table I don't want to fire two separate calls each time....is there a way to do this?
This discussion has been closed.
Replies
Allan
$('#example').on('xhr', function ( e, o, json ) {
// do something with the json
} );
[/code]
Allan