mercredi 6 mai 2015

Iterate json data in javascript

Following JSON data comes from php,

Json format

I have tried following code. But console displays undefined error.

jQuery.each(result.address, function(obj) {
  console.log(obj.city);
});

Aucun commentaire :

Enregistrer un commentaire