On 2/1/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Hi, Ajax gurus, I have an OT question: how to ensure the proper order > of several XHRs? I found how to create several XHRs simultaneously, > but I have a requirement: to wait for the first request to return > before firing the second,
(Hardly an expert but...) the third parameter of XMLHttpRequest.open(...) is a flag that says whether the request should be asynchronous. It's usually true. Set it to false and I think it will block until the response is received. Frank will now correct me if I'm wrong. :) And lets move to the user list if this gets any further off topic, shall we? -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]