How many types of ready states in ajax?

Showing Answers 1 - 18 of 18 Answers

Shahul

  • Sep 9th, 2011
 

4 States:
Initial
Request
Process
Finished are the 4 states of AJAX

  • Sep 18th, 2011
 

Four ready state

0: request not initialized
1: server connection established
2: request received
3: processing request
4: request finished and response is ready

  Was this answer useful?  Yes

Elavarasi

  • Sep 29th, 2011
 

* 0: The request is uninitialized (before you've called open()).
* 1: The request is set up, but not sent (before you've called send()).
* 2: The request was sent and is in process (you can usually get content headers from the response at this point).
* 3: The request is in process; often some partial data is available from the response, but the server isn't finished with its response.
* 4: The response is complete; you can get the server's response and use it.

  Was this answer useful?  Yes

Tarun

  • Jul 29th, 2012
 

There are four states of ajax.
1. Initialization
2. Request
3.Process
4. Ready

  Was this answer useful?  Yes

rahulsuresh

  • Sep 15th, 2017
 

There are four types,
1, Hidden frame
2, XML HTTP request
3, Jquery Ajax
4, Angular Ajax

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions