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 Instantiation What is an

    What is an Instantiation: It is a creation of an instance of a class, i.e., an object.

  • Q : Inventory management system in UML

    Mini-Case The Hatcher Company is in the process of developing a new inventory management system.  One of the event handling processes in that system is Receive Supplier Shipments.  The (inexperie

  • Q : Modeling Language for SPIN-Promela

    Modeling Language: The modeling language used for SPIN is called Promela (Process Meta Language). In fact, the name SPIN stands for Simple Promela Interpreter. Promela is a powerful C-like specification language with a variety of synchronization primi

  • Q : What is Classpath Classpath : The path

    Classpath: The path searched by interpreter and compiler for class definitions. The class path might be set by a command-line argument to either, or through an environment variable.

  • Q : Explai phases of software development

    Define the difference between phases of software development or software life cycle?

  • Q : Data types of LONG To define the data

    To define the data types such as LONG, INT, SHORT, CHAR write a program?

  • Q : Explain Semantic error Semantic error:

    Semantic error: It is an error in the meaning of program. A statement might contain no syntax errors, however might still break the rules of Java language. For example, when ivar is an int variable, the shown statement is syntactically correct

  • Q : How can I get an exact image in a web

    How can I get an exact image in a web page?

  • Q : Define Unicode Unicode : It is a 16-bit

    Unicode: It is a 16-bit character set designed to make it simpler to exchange and exhibit information which makes use of a broad range of dissimilar languages and symbols.

  • Q : What is Pattern Pattern : It is a

    Pattern: It is a recurring theme in class usage or design. Interfaces like Iterator encapsulate a pattern of admission to the items in a collection, whereas freeing the client from the requirement to know details of the way in which the collection is

©TutorsGlobe All rights reserved 2022-2023.