Ajax提交以及返回 Ext.Ajax.request({ url : url, params : { 参数键值对 }, success : function(resp, opts) { var o = Ext.util.JSON.decode(resp.responseText); for (var i in o) { var obj = Ext.getCmp(i) if (typeof obj == "object") { obj.setValue(o[i]); } } }, failure:function(resp,opts){} });