
1 keakon 2012 年 10 月 5 日 你是要遍历map么 for (key in location) { console.log(key + ': ' + a.location[key])} } |
2 lisztli 2012 年 10 月 5 日 var response_json = $.parseJSON(respTxt); |
6 bitsmix 2012 年 10 月 6 日 template engine 还是用 {{mustache}} 吧。 另外,如果问题是 parseJSON 解决的就说明服务器传回来的 content-type 不对。 我的意思是你的问题其实还是没真正解决。 |