通过python的simplejson反馈
data = {
'result' : true
}
return httpresponse(json.dumps(data))
json_data为反馈的数据
$.each(json_data, function(key, value) {
alert(key+ " "+ value );});
通过python的simplejson反馈
data = {
'result' : true
}
return httpresponse(json.dumps(data))
json_data为反馈的数据
$.each(json_data, function(key, value) {
alert(key+ " "+ value );});