Click to return to the DHTML, HTML     
READONLY Attribute | read...     reason Property     DHTML Properties    
Web Workshop  |  DHTML, HTML & CSS

readyState Property


Retrieves the current state of the object being downloaded.

Syntax

HTMLN/A
Scripting[ sState = ] object.readyState

Possible Values

sState String that specifies one of the following values:
uninitializedObject is not initialized with data.
loadingObject is loading its data.
loadedObject has finished loading its data.
interactiveUser can interact with the object even though it is not fully loaded.
completeObject is completely initialized.

The property is read-only with no default value.

Remarks

Each object determines which of the five states it exposes.

All objects, except OBJECT, that expose the readyState property return the value as a string. The OBJECT tag returns an integer in the range of 0 (uninitialized) through 4 (complete).

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
A, ACRONYM, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BDO, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, custom, DD, DEL, DFN, DIR, DIV, DL, document, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, HEAD, Hn, HR, HTML, I, IFRAME, IMG, INPUT type=button, INPUT type=checkbox, INPUT type=file, INPUT type=hidden, INPUT type=image, INPUT type=password, INPUT type=radio, INPUT type=reset, INPUT type=submit, INPUT type=text, INS, ISINDEX, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, NEXTID, NOBR, NOFRAMES, NOSCRIPT, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, Q, RT, RUBY, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, XML, XMP

See Also

onreadystatechange



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.