July 1998
Intermediate to advanced
1456 pages
65h 5m
English
readyState — NN n/a IE 4 DOM n/a
Read-only
Returns the current download status of the document or embedded
content. This property provides a more granular way of testing
whether a particular downloadable element is ready to be run or
scripted instead of the onLoad event handler for
the entire document. As the value of this property changes during
loading, the system fires an onReadyStateChange
event.
if (document.all.myStyle.readyState == "uninitialized") {
statements for alternate handling
}One of the following values (as strings): complete
| interactive | loading |
uninitialized. Some elements may allow the user to
interact with partial content, in which case the property may return
interactive until all loading has completed.
None.
Read now
Unlock full access