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.
通过循环就可以将json里的值全部获取了;
var json = {'name':'xxxxx', 'age':27}; for(var name in json){ document.write(json[name]); }
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.
通过循环就可以将json里的值全部获取了;