readyState property (document, a, abbr, ...)
Returns a string value that represents the state of the object.
Use this property together with the onreadystatechange event to be notified when the state changes.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the state of the object.
One of the following values:
|Initialization is ready.|
|A part of the data is available.|
|The data of the object has been loaded.|
|The data of the object is currently loading.|
|Object is not initialized.|
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the readyState property:
Did you find this example helpful?
User Contributed Comments