On Mon, Aug 4, 2008 at 9:44 AM, Magnus Manske
<magnusmanske(a)googlemail.com> wrote:
On Mon, Aug 4, 2008 at 1:14 PM, Chris Howie
<cdhowie(a)gmail.com> wrote:
I believe this will fail if the client's
connection is slow enough
since you don't handle onreadystatechange, but instead jump right into
handling the response (which may not be available that soon).
The request is done synchronously, so the send() will wait until the
respone is availavle.
Interesting, I wasn't aware that it had a synchronous mode. At any
rate I would still recommend using asynchronous mode since large talk
pages could cause a several-second delay. (In most of the browsers I
have tested on the UI locks while JavaScript is running due to JS's
(lack of a) threading model.)
OK, OK, done ;-)
I also fxed an issue with broken JavaScript multiline regexp.
Magnus