Make an AJAX call with the Extjs framework

lightning-sign-48x48 Every day it’s more common make AJAX calls in our Web applications, so here is a very easy way to make it using the Extjs framework. Now the available version is 2.0.

Here is the code sniped:

var conn = new;
success: function(responseObject) {
failure: function() {
alert(“Something fail”);

As we can see this is a very easy task to do with Extjs, we only have to set the url of the service that we want to call, the method that should be used and the functions to handle the success or the failure.

Share and Enjoy:
  • Digg
  • Facebook
  • Google Bookmarks
  • DZone
  • Reddit
  • Technorati
  • StumbleUpon
  • Twitter
RSS Enjoy this Post? Subscribe to

RSS Feed   RSS Feed     Email Feed  Email Feed Follow us Follow us
You can leave a response, or trackback from your own site.

One Response to “Make an AJAX call with the Extjs framework”

  1. Do we have this still in Ext JS 4.0? I can’t find it.

Leave a Reply