使用jsonData和count变量时NaN出现问题

The Problem:

The Problem

When I try to concat in .html(jsondatareg.recibido+i) my explorer returns NaN value because the Js can't concat the two "strings" values.

My code:

var params = '&cedula='+cedula;
$.post('classes/recibirDatos', params, function(jsondatareg){
    for(var i = 0; i < jsondatareg.contador; i++){
        $('#recibido'+i).html(jsondatareg.recibido+i);
        console.log(jsondatareg.recibido+i);
    }
},'json');

The values:

The values

you can access the json property like an array , try this :

var params = '&cedula='+cedula;

$.post('classes/recibirDatos', params, function(jsondatareg){

    for(var i = 0; i < jsondatareg.contador; i++){
        $('#recibido'+i).html(jsondatareg["recibido" + i]);

        console.log(jsondatareg["recibido" + i]);
    }

},'json');