[jQuery] Re: Slightly OT: javascript and AJAX response 'concurrency'

2007-06-12 Thread Mike Alsup
Hi Rob, JS is single-threaded so it's not possible for the callback to be invoked before the current function has completed executing (unless, as I said, you force the sync behavior). Mike On 6/12/07, Rob Desbois <[EMAIL PROTECTED]> wrote: Great, thanks. How do you know this - is it part of

[jQuery] Re: Slightly OT: javascript and AJAX response 'concurrency'

2007-06-12 Thread Rob Desbois
Great, thanks. How do you know this - is it part of the ECMAScript specification or is there some other reference you can point me too? --rob On 6/12/07, Mike Alsup <[EMAIL PROTECTED]> wrote: It's guaranteed as long as you don't force a synchronous call using the async option. Mike On 6/12

[jQuery] Re: Slightly OT: javascript and AJAX response 'concurrency'

2007-06-12 Thread Mike Alsup
It's guaranteed as long as you don't force a synchronous call using the async option. Mike On 6/12/07, Rob Desbois <[EMAIL PROTECTED]> wrote: I have a function which generates an AJAX request to retrieve information. The display of this information requires modification of the interface - the