Results 1 to 2 of 2

Thread: Remote Ajax request

  1. #1
    Sencha User
    Join Date
    Feb 2010
    Vote Rating

    Exclamation Remote Ajax request

    I have a button where there is an ajax handler:

    url: ''
    success: function (response, options) {
    failure: function (response, options) {

    , the above URL is in other domain from the running page, so it always returns into failure.

    How can I call a remote url which is locating in other domain?

  2. #2
    Sencha User's Avatar
    Join Date
    Mar 2007
    DC Area =)
    Vote Rating


    you don't w/ the current XHR object. You'll need to perform a script tag proxy request, assuming that domain supports STP (or now JSONP)

Similar Threads

  1. Random Ajax request failure (IE only) on grid with remote sorting
    By robintan in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 4 May 2011, 7:02 PM
  2. add a param to all Ext.Ajax.request (tree, store, normal Ajax.request)
    By aj3423 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 26 Jan 2010, 9:18 AM
  3. autoLoad vs Ext.Ajax.request... loadScripts not working w/Ajax.request
    By zhegwood in forum Ext 3.x: Help & Discussion
    Replies: 1
    Last Post: 6 Aug 2009, 3:28 PM
  4. Ajax.request removes port from request URL
    By emkman in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 4 Aug 2008, 7:26 AM
  5. Problem in send ajax request :The Ext.Ajax is null or not Object
    By flyingpig in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 27 Aug 2007, 11:29 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts