2.3.4.13 oncontentready

Quirks Mode, IE7 Mode, IE8 Mode, and IE9 Mode (All Versions)

oncontentready of type Function

Occurs when the content of the master element, to which a behavior is attached, has been parsed.

If the literalContent attribute of the PUBLIC:COMPONENT element is true, the literal content of the element behavior is stored in the innerHTML property.

The following example demonstrates how to attach and respond to the oncontentready event.

 <PUBLIC:ATTACH EVENT="oncontentready" ONEVENT="show_innerHTML()" />
  
 <SCRIPT LANGUAGE="JScript">
 function show_innerHTML()
 {
    window.alert ('innerHTML = ' + element.innerHTML);
 }
 </SCRIPT>

This event is specific to HTC and element behaviors.