om.DomNode.getId

Returns the internal AUI tree id of a DOM node.

Syntax

getId()
  RETURNS INTEGER

Usage

The getId() method returns an internal integer identifier generated automatically for any om.DomNode object created in the abstract user interface tree.

The internal id is typically used to reference a DOM node in an attribute of another node, to link nodes logically together.

If the DOM node does not belong to the AUI tree, the method returns zero.