Ver Mensaje Individual
  #3 (permalink)  
Antiguo 26/07/2013, 15:22
wilsonlazo
 
Fecha de Ingreso: julio-2013
Mensajes: 60
Antigüedad: 10 años, 9 meses
Puntos: 0
Respuesta: recorrer array de json on javascript

Cita:
Iniciado por zerokilled Ver Mensaje
te remito a un tema reciente con la misma pregunta. http://www.forosdelweb.com/showthread.php?t=1066515
zerokilled
recorro asi:

data=[{"idcliente":"5","tipo_documento":"1","distrito":" 2","nombre":"wilson","sexo":"M"}]
for(i=0;i<data.length;i++){
document.write(data[i]['idcliente']);
}


y me sale undefined