Sending POST requests with dataTables

Sending POST requests with dataTables

netpumbernetpumber Posts: 4Questions: 0Answers: 0
edited June 2013 in General
Hi,

Is there any way to send POST request to the server through dataTables and take the return data from it ?

Something like this but using dataTable's options.

[code]function loadLogsTable()
{
jQuery.ajax({
type: "POST",
async : true,
url: "classes/classesController.php",
data: { method: "getLogsList"},
contentType : ('application/x-www-form-urlencoded'),
dataType : "html" ,
success : function(data){
$("#logData").html(data);
}
});
}[/code]
This discussion has been closed.