Home > DeveloperSection > Interviews > List the different states of XMLHttpRequest with their description.

Posted on    September-02-2014 11:19 PM

 ASP.Net ASP.Net 
Ratings:
 1 Answer(s)
  859  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    September-02-2014 12:00 AM

The different states of the XMLHttpRequest object are as follows:

Uninitialized - Refers to the state when the object has not been initialized.

Open - Refers to the state when the object has been created; however, the send function has not been invoked.

Sent -Refers to the state when the send function is invoked; however, the status and headers are not available.

Receiving - Refers to the state when the process is receiving data.

Loaded - Refers to the state when the procedure is completed and the entire data is available.


Don't want to miss updates? Please click the below button!

Follow MindStick