Onreadystatechange callback behaviour for XMLHttpRequest

Posted by keshav.veerapaneni on Stack Overflow See other posts from Stack Overflow or by keshav.veerapaneni
Published on 2010-05-31T11:56:12Z Indexed on 2010/05/31 12:03 UTC
Read the original article Hit count: 334

Hello Colleagues,

If XMLHttpRequest is used with asynchronous mode, then are the onreadystatechange callbacks for 0,1,2 states called in UI thread only or in the background thread?

And is it possible that this behaviour could be different in different browsers?

Best Regards, Keshav

© Stack Overflow or respective owner

Related posts about AJAX

Related posts about xmlhttprequest