The DhElement Class

Elements are objects derived from DhElement, which is the superclass of all user interface elements in the wfc.html package. There is a certain consistency you can count on when using any object derived from DhElement:

If an element is already on the page when the documentLoad() method is called, then you can call the document's findElement() method and start programming to that element. The searching routine used by findElement assumes that the element you are looking to find has an ID attribute set to a particular name. You can also enumerate all the elements in the document until you find the one you are interested in.