1. #1
    Ext User Schyzzy's Avatar
    Join Date
    May 2009
    Posts
    5
    Vote Rating
    0
    Schyzzy is on a distinguished road

      0  

    Default Ajax and python simple server

    Ajax and python simple server


    Hi folks,
    I have a little problem using Ajax, so I'd be very grateful if anyone can help me.

    I'm using a little local server in python using wsgiref.simple_server module. So when I run my browser with http://localhost, my data is actually shown to me, but when I want to retrieve it by Ajax, it doesn't work.

    For now I'm just using a simple request

    Code:
    Ext.Ajax.request({
    	url: 'http://localhost/',
    	method: 'GET',
    	sucess: function(response, options){...}
    })
    Could anyone tell me what's wrong ?
    Thx a lot!

  2. #2
    Ext User Schyzzy's Avatar
    Join Date
    May 2009
    Posts
    5
    Vote Rating
    0
    Schyzzy is on a distinguished road

      0  

    Default


    Does anybody know the problem ?

  3. #3
    Ext User Joe's Avatar
    Join Date
    Apr 2007
    Posts
    243
    Vote Rating
    0
    Joe is on a distinguished road

      0  

    Default Check your sucess vs success

    Check your sucess vs success


    sucess should be success and you should try a full URL to get a test page, not load your full home page.
    Joseph Francis,
    CoreLan / Meeting Consultants

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar