ajax
$.ajax({
url:"/perceptionAnalyze/village/getCountThreshold.do",
async: false,
data: {XXX: XXX, type: 3, startTime : startTime},
daType:'Json',
success: function(data){
}
});
Ajax.request
Ext.Ajax.request({
url: "",
method: "POST",
param:{
param: param
},
success: function(response){
var data= Ext.util.JSON.decode(resp.responseText);
}
});