Using the onwcready Event

In the following example, a message box displays when the onwcready event fires. The message box shows the value of the readyState property for the custom element.

To view the source code, right-click this page and choose View Source from the shortcut menu that appears.

© 2007 Microsoft Corporation. All rights reserved. Terms of use.