Success - in getting data from api
Success - in getting data from api
Ohunjon
Posts: 9Questions: 5Answers: 0
hello everybody ! I am getting data from api and I wanted use my custom function in success getting data from api. I try but in table nothing showing maybe anything is wrong ... thanks in advance!
var table = $("#table").DataTable({
"ajax": {
url:"/profiles_list",
type: "POST",
dataSrc: "",
deferLoading: 57,
success: function(){
muFunction()
console.log('yes');
},
error:function(error){
console.log('error');
}
}
});
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @Ohunjon ,
This thread should help, it's asking the same thing.
Cheers,
Colin