var ajax = $.ajax({
method: "GET",
url: "api/fichas",
dataType: "json",
success: function( strData ){
alert("work");
$("#agenda .content").append(strData);
}
}).done(function(){
console.log("WORK");
});
I have this code in a button, it makes the request but it does not show anything, neither error nor that it is already done (the function .done ())