The information brings it to me correctly and verifies by consola
, my problem is, because I get those lines as if I wanted to show the information but has nothing, someone knows what is happening ?.
$('#auto_tag').autocomplete({
source: function(request,response){
$.ajax({
url: uri+'/tags',
type: "post",
dataType: "json",
data:{keys: request.term},
success: function(data){
response(data);
console.log(data);
}
});
},
minLength: 1,
select: function(event,ui){
data = ui.item.id+'*'+ui.item.name;
$('#button-a-tag').val(data);
},
});