I have a problem that seems simple but I can not find the solution.
table = "<div><table class='table table-hover'>";
dados = "";
for(var i = 0; i <= retorno.dados.length; i++)
{
dados = dados + "<tr><td class='col-md-11'>" + retorno.dados[i]['user_id'] + " </td>";
// console.log(retorno.dados[i]['user_id']);
}
The error in the console is as follows: Uncaught TypeError: Can not read property 'user_id' of undefined