| 0 | Uninitialised | before open() is called |
| 1 | Request has set up | before send() is called |
| 2 | Request was sent and in process | content header is available |
| 3 | In process | responseText holds partial data but unfinished |
| 4 | Complete | finish processing and received response |
P.S. according to QuirksBlog: XMLHTTP notes:
readyState and the events, different browsers behave differently for onreadystatechange event handling.
No comments:
Post a Comment