Skip to content Skip to sidebar Skip to footer

Datatables And Jquery $.post

I have a datatables table in my webpage with more than one page of paginated data in it. Per the example given by datatables, I use the following javascript/jQuery to submit the f

Solution 1:

because it needs to be a closure or a reference to a function.

$.post('', sData, function(data){$('body').html(data); }); 

or

functioncallback(data) {
   $('body').html(data);
}
$.post('', sData, callback); 

Post a Comment for "Datatables And Jquery $.post"