I think now you are the one confusing timers with the fact JavaScript is single threading for each tab ...
I wrote a complete Ajax Guide in 2004 and used LoadVars via Flash before so hopefully I know these things ... in any case for this ML purpose it's always good to remind people how are things Regards On Fri, Oct 23, 2009 at 5:15 PM, Steven Parkes <smpar...@smparkes.net>wrote: > > > I was talking about Ajax calls, no timeouts, but maybe you are not > > replying to my post :-) > > Sorry. This stuff does all mix together. XHR can execute async to the > Javascript thread, but all callbacks are executed on the Javascript > thread. so any onreadystatechange callbacks won't get executed until > your application isn't doing anything else. Abstractly, the XHR object > more or less does a setTimeout(fn,0) of your onreadystatechange > callback, so timers and XHR do interact. > > This is all a simplification of what the html5 draft says, which isn't > exactly definitive of what any existing browser does, but I find a > reasonable approximation ... > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---