sencha > Ajax

ajaxhe 2013-10-22

Ext.Ajax.request({
    url: 'myUrl',
	//timeout: 5000,
    method: 'GET',
    //disableCaching: false,

    success: function(response) {
        console.log("Spiffing, everything worked");
    },

    failure: function(response) {
        console.log("Curses, something terrible happened");
    },

    callback: function(options, success, response) {
        console.log("It is what it is");
    }
});

相关推荐

mmywcoco / 0评论 2020-06-06