Fires when the behavior's containing document has been completely parsed.
<PUBLIC:ATTACH EVENT = ondocumentready ONEVENT = sEventHandler FOR = element ID = sID />
Required. String that specifies the name of a Dynamic HTML (DHTML) event, or any of the events specific to the HTML Component (HTC) that are listed in the HTC Reference.
Optional. String that specifies one of the following values to identify the source of the event.
Optional. String that uniquely identifies the PUBLIC:ATTACH element within the component. This attribute is analogous to the ID attribute in Dynamic HTML (DHTML).
Required. String that specifies an inline script or a direct invocation of the event handler function.
A behavior attached to an element receives both the ondocumentready and oncontentready notifications, but only after the window. onload event has fired.
See Component Initialization for an overview of events fired during the initialization of an HTC file and its primary document.
oncontentready, Introduction to DHTML Behaviors, About Element Behaviors, Using HTML Components to Implement DHTML Behaviors in Script