Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM readyState property

HTML DOM readyState property

Document Object Reference Document Object


Definition and Usage

The readyState property returns the status of the current document (loading...).

This property returns the following values:

Syntax

document.readyState


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the readyState property


Example

Example

Return the loading status of the current document:

Loading status:

Try it »


Document Object Reference Document Object