Functions of states of the XMLHttpRequest

Mention the different states of the XMLHttpRequest an dalso describe their functions.

E

Expert

Verified

Different states of XMLHttpRequest object are described as:

1. Loaded – This refers to a state when procedure is finished and the whole data is available.

2. Open – This refers to a state when a object has been created; but, the send function hasn’t been invoked.

3. Sent: This refers to a state when send function is invoked; but, status and headers are not available.

4. Receiving: This refers to a state when a process is receiving data.

5. Uninitialized: This refers to state when a object hasn’t been initialized.

   Related Questions in Programming Languages

  • Q : What is an Initializer Initializer : A

    Initializer: A block stated at the outermost level of a class - identical to a method devoid of a header. The initializer blocks are executed, in order, whenever an instance is formed. They are executed prior to the constructor of the defining class,

  • Q : Describe Timers Timers: While time

    Timers: While time values usually cannot be reduced in the target system, their usage can be encapsulated as an abstraction which can be replaced easily (e.g., by a non-deterministic choice) during model checking.

  • Q : Explain Hot spot Hot spot : This is an

    Hot spot: This is an area in an image map with a specific significance. A program usually monitors movements of the mouse, and reacts according to the actions related with the hot spots over which it passes. This may comprise displaying various status

  • Q : Generating uniform random numbers using

    In .NET, write a simple web service in C# to generate uniform random numbers. Use the class System.Random to generate the random numbers. What part of the code is specifically associated with web services? How could you deploy the web service?

  • Q : What is File Transfer Protocol or FTP

    File Transfer Protocol: The File Transfer Protocol (abbreviated as FTP) states a standard set of rules which make it probable to transfer a file from one file system to the other.

  • Q : Define the term Method signature Define

    Define the term Method signature: This is the synonym for method header.

  • Q : Various controls of ASP.NET AJAX Name

    Name the various controls of ASP.NET AJAX?

  • Q : Define Permission Normal 0 false false

    Normal 0 false false

  • Q : What is a Real-Time System What is a

    What is a Real-Time System?

  • Q : What is Actual argument Actual argument

    Actual argument: The value of an argument enacted to a method from exterior to the method. Whenever a method is called, the real argument values are copied into analogous formal arguments. The kinds of the actual arguments should be compatible with th

©TutorsGlobe All rights reserved 2022-2023.