Posted On: Feb 22, 2018
There are total 5 ready state in Ajax:
Value | State | Description |
---|---|---|
0 | UNSET | Client has been created. Open() not yet called. |
1 | OPENED | Open() called. |
2 | HEADRERS_RECIEVED | Send() called and headers are available. |
3 | LOADING | Downloading: responseText holds partial data. |
4 | DONE | The operation is complete. |
Never Miss an Articles from us.
Ajax is considered to be a developer’s best friend because it offers several benefits to him such as updating the web..
Synchronous Ajax requests: In this, the script stops and waits for the server to reply before continuing. In web application world, one has to happen after the other, i.e. the interaction between the ..
Ajax is a very easy concept if one has a sound knowledge of JavaScript. It uses JavaScript functions to call methods fro..