日期:2014-05-16 浏览次数:20516 次
Ext.Ajax.request({ url: 'findConfigProjectByName.action', method: 'POST', params: { 'value' : value }, success: function(response, options){ var result = Ext.util.JSON.decode(response.responseText); alert(result.success); }, failure: function(response, options){ } });
Ext.Ajax.request({ url: 'findConfigProjectByName.action', async : false, // 默认为 true method: 'POST', params: { 'value' : value }, success: function(response, options){ var result = Ext.util.JSON.decode(response.responseText); alert(result.success); }, failure: function(response, options){ } });