Microsoft Scriptlet TechnologyMicrosoft Scriptlet Technology*
*Contents  *Index  *Topic Contents

readyState Property

Returns information about the load state of the scriptlet hosted in the container object.

Applies To

Scriptlet container object

Syntax

ScriptContainer.readyState = integer

Remarks

This property is read-only. It is available only at runtime.

The readyState property returns an integer value between 1 and 4 indicating the load state of the scriptlet, with the following values:

ValueDefinition
1 or 2Undefined
3Scriptlet text has been loaded, but controls on the scriptlet's .htm page might not yet be functional.
4Scriptlet is completely loaded

In general, you should not attempt to access the scriptlet's functionality before the readyState property is set to 4. You can check the value of this property in a handler for the onreadystatechange event.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.