Click to return to the Component Development home page    
frozen Property     scrollbar Property     Welcome to Scriptlet Tech...    
Web Workshop  |  Component Development

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.



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.