Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Loop through JSON data help needed.. Re: Loop through JSON data help needed..

#139740
oprom3
Member

Did you parse the JSON data first? Try:

var jsonObject = JSON.parse(jsonData);
for (var i =0; i < jsonObject.renditions.length; i++) {
alert(jsonObject.renditions.url);
}