Hallo,
I have this json:
{
"ROWCOUNT":5,
"COLUMNS":["ID","REGIONE"],
"DATA":{
"ID":[1,2,4,3,5],
"REGIONE":["Abruzzo","Campania","Emilia","Molise","Toscana"]
}
I want retrieve value from ID and REGIONE with jquery, to fill a select. I have tried this one:
for(var COLUMNS in data) {
jQuery.each(data[COLUMNS], function(i, row) {
alert(row)
});
}
but I don't know how to combine one ID with the REGIONE, to obtain <option value="#ID#">#REGIONE#</option>
.
Thank you.