What are different readyState in Ajax.

devquora
devquora

Posted On: Feb 22, 2018

 

There are total 5 ready state in Ajax:

ValueStateDescription
0UNSETClient has been created. Open() not yet called.
1OPENEDOpen() called.
2HEADRERS_RECIEVEDSend() called and headers are available.
3LOADINGDownloading: responseText holds partial data.
4DONEThe operation is complete.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Ajax Interview Questions

    Explain What is Ajax?

    Ajax is considered to be a developer’s best friend because it offers several benefits to him such as updating the web..

    Ajax Interview Questions

    Differentiate between Synchronous and Asynchronous Ajax requests.

    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 Interview Questions

    List some advantages and disadvantages of using Ajax.

    Ajax is a very easy concept if one has a sound knowledge of JavaScript. It uses JavaScript functions to call methods fro..