EXT学习笔记--Ajax

1.Ext.Ajax.request

Ext.Ajax.request({

    url : '...', //请求路径

    success:function(response, opts) { //服务端返回请求成功执行

       ...

    },

    failure : function(response, opts) { //服务端返回请求失败执行

        ...

    }

});

若需要提交表单,只需要在url路径下加    from : '...',

原文地址:https://www.cnblogs.com/1319rr/p/7248809.html