7
rated 0 times
[
13]
[
6]
/ answers: 1 / hits: 67189
/ 7 Years ago, fri, february 17, 2017, 12:00:00
I have JSON stringify data like this :
[{availability_id:109465,date:2017-02-21,price:430000},{availability_id:109466,date:2017-02-22,price:430000},{availability_id:109467,date:2017-02-23,price:430000}]
I want to get only price value of that data. I have tried this way but it doesn't work.
var stringify = JSON.stringify(values);
for(var i = 0; i < stringify.length; i++)
{
alert(stringify[i]['price']);
}
How could I to do that ?
More From » json