'[{"SponsorID":382,"SponsorName":"Test Name","MonthEndReport":true,"AccountingManager":"Me","UnboundProperties":[],"State":16}]'
When attempting to retrieve the information above with the following code:
for (var i = 0; i < data.length; i++) {
alert(data[i]);
}
Instead of displaying the actual data, it displays individual characters like [, {, ", S
, and so on.
I also tried using data[i].SponsorName
but received undefined
. How should the data be properly accessed?