数据分析师2017-09-30 23:36:18
How does js get the json value? - PHP Chinese website Q&A - How does js get the json value? - PHP Chinese website Q&A
Take a look around and learn.
迷茫2016-12-22 15:30:18
通过循环就可以将json里的值全部获取了;
var json = {'name':'xxxxx', 'age':27}; for(var name in json){ document.write(json[name]); }