[jQuery] Re: Ajax - synchronous ajax call timeout

2008-04-11 Thread ^andrea^
Hi, in the $.ajax() function there is an option (async) which is boolean and is true by default, you have to set it false. "async Boolean Default: true By default, all requests are sent asynchronous (e.g. this is set to true by default). If you need synchronous requests, set this

[jQuery] Re: Ajax - synchronous ajax call timeout

2008-04-10 Thread Hamish Campbell
Err, this line: > Try the jQuery Development group - it sounds like a bug. Should read: Try the jQuery Development group, they might be able to explain why it does/doesn't work. I'm fairly sure that you can't script a timeout for syncronous though. On Apr 11, 11:35 am, Hamish Campbell <[EMAIL

[jQuery] Re: Ajax - synchronous ajax call timeout

2008-04-10 Thread Hamish Campbell
Could you post your code? Looking at the source (1.2.3) it appears that timeouts are not set for syncronous calls. I'm not sure if it's even possible - the XMLHttpRequest doesn't appear to have a timeout method. The best solution would probably be to not use syncronous requests at all. You'd nor

[jQuery] Re: Ajax - synchronous ajax call timeout

2008-04-10 Thread steve_f
Anybody?? On Apr 9, 10:10 pm, steve_f <[EMAIL PROTECTED]> wrote: > Has anybody implemented a synchronous ajax call with a timeout. I > cannot get the timeout to fire, instead the ui just locks up, I cannot > really have this in a live environment, it would really hack a user > off!!! > I am tryi