readyState (Object element)
all
alt
ch
dir
for
id
low
min
rel
top
url
URL
urn
TOC
Collapse the table of content
Expand the table of content

readyState property

Retrieves the current state of the object.

Syntax

JavaScript

p = object.readyState

 

Property values

Type: Integer

0

Object is not initialized with data.

1

Object is loading its data.

2

Object has finished loading its data.

3

User can interact with the object even though it is not fully loaded.

4

Object is completely initialized.

See also

object
onreadystatechange

 

 

Show:
© 2016 Microsoft