Skip to content

Instantly share code, notes, and snippets.

@mgcrea
Created January 16, 2012 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgcrea/1620901 to your computer and use it in GitHub Desktop.
Save mgcrea/1620901 to your computer and use it in GitHub Desktop.
var url = 'http://www.google.fr';
Ext.Ajax.request({
url: url,
method: 'get',
scope: this,
complete: function(response, options) {
console.warn('complete', response, options);
},
success: function(response, options) {
console.warn('success', response, options);
},
failure: function(response) {
console.warn('failure', response, options);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment