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:
Value Definition 1 or 2 Undefined 3 Scriptlet text has been loaded, but controls on the scriptlet's .htm page might not yet be functional. 4 Scriptlet 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.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.