List the different states of XMLHttpRequest with their description. Sumit Kesarwani214602-Sep-2014asp.netasp.net Updated on 23-Sep-2020
Sumit Kesarwani
02-Sep-2014The 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.