Contents

readyState

The current state of the request.

Declaration

readonly attribute int readyState;
readonly attribute unsigned short readyState;

Discussion

This attribute can have the following values:

  • 0 - UNSENT

  • 1 - OPENED

  • 2 - HEADERS_RECEIVED

  • 3 - LOADING

  • 4 - DONE

See Also

Retrieving Request Information