73
rated 0 times
[
74]
[
1]
/ answers: 1 / hits: 18796
/ 12 Years ago, thu, march 15, 2012, 12:00:00
Here is my response code in jQuery:
var response = $.parseJSON(response);
for (var i = 0; i < response.groupIds.length; i++) {
console.log(response.groupIds[i], i);
}
Each response.groupIds[i]
is of the form {unknown name:unknown value}
.
I wish to access both of these bits of data in javascript, how do I accomplish this when I don't know in advance what e.g. unknown name
is?
More From » json