最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

readyState Property

Internet Development Index

Retrieves a value that indicates the current state of the object.

Syntax

HTMLN/A
Scripting[ sState = ] object.readyState

Possible Values

sStateString that receives 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. The property has no default value.

Remarks

An object's state is initially set to uninitialized, and then to loading. When data loading is complete, the state of the link object passes through the loaded and interactive states to reach the complete state.

The states through which an object passes are determined by that object; an object can skip certain states (for example, interactive) if the state does not apply to that object.

Data source objects and databound elements are normally populated asynchronously, and certain programmatic operations can only be performed reliably on databound objects when they are ready for use. Therefore, the appropriate code should be written to confirm the readyState of objects prior to performing certain operations on them. For example, walking the rows of a table should not be attempted until after the table has reached the complete state.

The readyState property enables the status of an object to be tested. The correct place to test the readyState property is in the event handler for onreadystatechange. Similarly, a data source object (DSO) fires the ondatasetcomplete event to notify the Web page that the dataset is ready for programmatic operation.

Standards Information

There is no public standard that applies to this property.

Applies To

document, FRAME, 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, LINK, SCRIPT, TABLE, TBODY, TD, TFOOT, TH, THEAD, TR

See Also

onreadystatechange
抚松县| 察隅县| 广水市| 澄迈县| 牡丹江市| 冀州市| 雷山县| 陆丰市| 南漳县| 嘉定区| 成都市| 合作市| 浮梁县| 泸溪县| 台东县| 荔波县| 蛟河市| 射阳县| 阳山县| 麻江县| 德清县| 大港区| 鹤山市| 瑞安市| 镇康县| 电白县| 凤翔县| 闻喜县| 宁夏| 隆林| 中山市| 揭西县| 云林县| 鹤壁市| 瑞金市| 南涧| 那曲县| 景德镇市| 内江市| 杂多县| 内黄县|