> 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 -~----------~----~----~----~------~----~------~--~---