readyState property (object)
Returns an integer value that indicates the state of the object element.
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.
Integer that represents the state of the object.
One of the following values:
|Object is not initialized.|
|The data of the object is currently loading.|
|The data of the object has been loaded.|
|A part of the data is available.|
|Initialization is ready.|
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