[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-30 Thread Stefano Corallo
someone else's code without inspection ;) > > On Jan 30, 4:34 pm, Stefano Corallo wrote: > > > On 30 Gen, 19:25, Ricardo Tomasi wrote: > > > > We can't access the success function of the $.ajax call without > > > messing with jQuery source code

[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-30 Thread Stefano Corallo
ment to the callback > function. In the example I posted: > > jsonFlickrFeed = function(data){ //do something with data }; > i've tried but data is always undefined,take a look: http://jsbin.com/ajimu/edit > On Jan 30, 7:28 am, Stefano Corallo wrote: > > > On 28 Gen, 17:03,

[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-30 Thread Stefano Corallo
On 28 Gen, 17:03, Ricardo Tomasi wrote: > It isn't possible to have error/success callbacks for JSONP. You can't > cancel the request either. Once you add a

[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-28 Thread Stefano Corallo
ed (timeout or not). In your example you've defined a function before the $.jsonp call (the jsonFlickrFeed) and added in the url of the request ... why the success function is not working? I've forgotten something? Thanks. On 28 Gen, 10:15, Stefano Corallo wrote: > Ok perfect :) Many

[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-28 Thread Stefano Corallo
Anyway thanks a lot. On 28 Gen, 09:23, Stefano Corallo wrote: > thank's i'll give it a try ... stay tuned :D > > On 27 Gen, 22:45, Ricardo Tomasi wrote: > > > Hi Stefano, I think I found a solution. All you need to do is check if > > the callback has been calle

[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-28 Thread Stefano Corallo
thank's i'll give it a try ... stay tuned :D On 27 Gen, 22:45, Ricardo Tomasi wrote: > Hi Stefano, I think I found a solution. All you need to do is check if > the callback has been called after your specified timeout. If it has > not been called yet, overwrite it with an empty function, else do

[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-27 Thread Stefano Corallo
le to do cross domain request but i can't > > control the timeout and i'm wondering about why? > > > On 27 Gen, 12:22, Stefano Corallo wrote: > > > > yes ok but i've set the jsonp option to avoid this problem like > > > explained in > > > &

[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-27 Thread Stefano Corallo
With the jsonp option i'm able to do cross domain request but i can't control the timeout and i'm wondering about why? On 27 Gen, 12:22, Stefano Corallo wrote: > yes ok but i've set the jsonp option to avoid this problem like > explained in > > http://bob.p

[jQuery] Re: $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-27 Thread Stefano Corallo
yes ok but i've set the jsonp option to avoid this problem like explained in http://bob.pythonmac.org/archives/2005/12/05/remote-json-jsonp/ that i've found http://docs.jquery.com/Ajax/jQuery.ajax#options i'm wrong? On 27 Gen, 12:06, Mike Alsup wrote: > > In this case the execution stop beca

[jQuery] Re: $.ajax timeout and trouble with Microsoft IIS 6

2009-01-27 Thread Stefano Corallo
maybe an $.ajax bug like explained in : http://groups.google.it/group/jquery-en/t/b75f222ac0a68bb2?hl=it On 23 Gen, 09:48, Stefano Corallo wrote: > the cache:false option not work. :( > > On 22 Gen, 20:10, jay wrote: > > > Perhaps the cache:false option is necessary? It a

[jQuery] $.ajax bug ?!? Maybe i've not understand somethings ....

2009-01-27 Thread Stefano Corallo
Hi all, with refer at this previous post http://groups.google.it/group/jquery-en/browse_thread/thread/48725e45d59f1481?hl=it i've investigate and debugging version 1.3.1 of jquery i've notice that in the ajax function (line 3278): // If we're requesting a remote document

[jQuery] Re: $.ajax timeout and trouble with Microsoft IIS 6

2009-01-23 Thread Stefano Corallo
> explain the descrepency between apache and iis. > > On Jan 22, 11:55 am, Stefano Corallo wrote: > > > Hi all, > > > i've a client side scrit that do a request to a server the server > > sleep for a 10 seconds and the respond, in the client side script i > >

[jQuery] Re: $.ajax timeout and trouble with Microsoft IIS 6

2009-01-22 Thread Stefano Corallo
wrote: > Perhaps the cache:false option is necessary? It adds a timestamp to > the end of the querystring.  The browser may be caching the request > and therefore not showing potential errors.  But then that wouldn't > explain the descrepency between apache and iis. > > On Jan 22, 11:

[jQuery] $.ajax timeout and trouble with Microsoft IIS 6

2009-01-22 Thread Stefano Corallo
Hi all, i've a client side scrit that do a request to a server the server sleep for a 10 seconds and the respond, in the client side script i setup the timeout option at 1 second (1000) and i want to catch the error thrown (like explained all around the web :) ) a bit of code explain better: //