Hi Allan, How to Reload the DataTable by using Ajax Call and fnDraw()

Hi Allan, How to Reload the DataTable by using Ajax Call and fnDraw()

harishraoharishrao Posts: 13Questions: 6Answers: 0
edited June 2014 in Free community support

$.ajax({ type: "POST",
url: newURL,
data: JSON.stringify({ 'input': userId }),
contentType: "application/json; charset=utf-8",
dataType: "json",
//data: '{input: "' + comment + '"}',

                    success: function (ch) {
                          -------------
                          -------------
                          i dono what to write here
                          -------------
                        alert(ch);
                    },
                    error: function () { alert("error"); }
                });
This discussion has been closed.