om.DomNode.getParent

Returns the parent DOM node.

Syntax

getParent()
  RETURNS om.DomNode

Usage

The getParent() method returns the parent DOM node of the current node.

If the current node is the root node, the method returns NULL.

Example

DEFINE parent, current om.DomNode
...
LET parent = current.getParent()