The DomNode class / om.DomNode methods |
Sets the value of a DOM node attribute.
setAttribute( name STRING, value STRING )
The setAttribute() method sets the value of an attribute in the current node.
DOM node attribute names are case-sensitive.
DEFINE node om.DomNode ... CALL node.setAttribute("name", "tiger")