Onreadystatechange callback behaviour for XMLHttpRequest
- by keshav.veerapaneni
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