onreadystatechange Event

See Also      Tasks      Applies To

Sent to indicate whether a DHTML scriptlet has completed loading.

Visual Basic® Syntax

ScriptContainer_onreadystatechange ()

JavaScript Syntax

< SCRIPT LANGUAGE="JavaScript"
FOR=ScriptContainer
EVENT= onreadystatechange >

Remarks

This event is fired multiple times while a DHTML scriptlet is loading. The final time, it indicates that the scriptlet's HTML page is fully loaded and its scripts can be called. To test the current state, you can get the value of the scriptlet container object's readystate property.