[jQuery] $ajax timeout option and firebug

2009-12-06 Thread agibralter
When I specify a low timeout firebug's console shows the ajax request as never ending -- is this just a problem with firebug or something more serious? The callbacks (complete, error, etc.) all work correctly... .ajax({ ... timeout: 50 ... }) = causes the request to never stop in the firebug

[jQuery] Ajax Timeout Usage

2009-05-07 Thread ritterb82
Question for the Group. When using jQuery Ajax functionality, how does the timeout work? Does the timeout start when the function is called or when the browser starts the request? example: (not jquery code) var a = get(pageA) var b = get(pageB) var c = get(pageC) var c = get(pageD) var e =

[jQuery] Ajax timeout doesn't call error function?

2009-04-20 Thread PanMan
Hi! I'm trying to setup an ajax call which throws an error on timeout. function getXMLfeed(url, target) { $.ajax({ url: url, timeout: 1, error: function(d,msg) { alert(Could not load stuff); }, success: function(data){ var json =

[jQuery] ajax timeout question

2009-03-24 Thread Mathew
i am using jquery ajax to load search results of a page. and am having a hard time finding an answer to this question regarding my timeout time i have jquery set to timeout 5000 before doing the success functions. i have noticed on my less than reliable connection that sometimes it takes longer

[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:

[jQuery] $.ajax() timeout

2008-08-20 Thread hubbs
I seem to not be understanding how the ajax timeout works, because it does not seem to work how I thought. I was hope it would delay the ajax request, for the number of miliseconds that is specified, but that does not seem to be working. Is the timeout used for something different? Or is there

[jQuery] $.ajax timeout basics

2008-06-14 Thread Ollie
Hi everyone, I've been using jQuery for a bit of time now, and getting quite comfortable with it... except something that's been frustrating the hell out of me all day! Can anyone explain to me the basics of the ajax timeout function works? I've tried defining a timeout in the global ajax

[jQuery] ajax timeout problem

2007-09-27 Thread mouqx xu
hi all I've come with a strange problem with ajax timeout. The success function and timeout function both seems to be executed. This case does happen for about every 100, 000 asynchronous request. I've read the code, the onreadystatechange function is not attached with xml, but executes