readyState Property

Internet Development Index

Retrieves the current state of the object.

Syntax

HTMLN/A
Scripting[ lState = ] OBJECT.readyState

Possible Values

lStateInteger that receives one of the following values.
0Object is not initialized with data.
1Object is loading its data.
2Object has finished loading its data.
3User can interact with the object even though it is not fully loaded.
4Object is completely initialized.

The property is read-only. The property has no default value.

Standards Information

There is no public standard that applies to this property.

Applies To

OBJECT

See Also

onreadystatechange