jquery遍历json数据

来源:互联网 发布:鸟哥的linux私房菜txt 编辑:程序博客网 时间:2024/06/05 01:11

通过python的simplejson反馈

data = {

 'result' : true

}

return httpresponse(json.dumps(data))


json_data为反馈的数据

$.each(json_data, function(key, value) {

       alert(key+ "   "+ value );

});



0 0
原创粉丝点击