Hi how can i handle this json response from ajax
{"suivi":5,
"mail":8,
"listSuivi":{
"0":{"dossier":"IWE123123","refunds_count":1},
"1":{"dossier":"IM00000009","refunds_count":2}
}
}
i can access to suivi and mail doing this
success: function(data){
$('#suivi').html(data.mail+" +");
$('#mail').html(data.suivi+" +");
}
but how can i obtain the list of dossiers (listSuivi)? Thx a lot