Javascript Reference
Categories: document

javascript document readyState

@March 15, 2008, 1:22 a.m.
readyState Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a

Read-only

Returns the current download status of the document content. If a script (especially one initiated by a user event) can perform some actions while the document is still loading, but must avoid other actions until the entire page has loaded, this property provides intermediate information about the loading process. You would use its value in condition tests. The value of this property changes during loading as the loading state changes. Each change of the property value fires an onreadystatechange event.

 
Example
 
if (document.readyState == "loading") {
    // statements for alternate handling
}
 
Value

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.

 
Default

None.

coursework info
<a href=https://brainycoursework.com>buy coursework</a>
coursework papers
InessaEtPi - 2 years
professional essay writers for hire
<a href=https://buytopessays.com>customized essay</a>
essay on service
PennyEtPi - 2 years
college essay editing services
<a href=https://buy-eessay-online.com>help with essays assignments</a>
essay writing services usa
ChelsaeEtPi - 2 years

Powered by Linode.