[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Finds a DOM node with the specified value in its NodeName property.
Source position: laz2_dom.pas line 333
public function TDOMNode_WithChildren.FindNode( |
const ANodeName: DOMString |
):TDOMNode; override; |
ANodeName |
|
Name for the DOM node to locate in the method. |
DOM node with a name matching the requested value, or Nil.
FindNode is a method used to search the child nodes in class instance for the node with the name specified in ANodeName. The search is started using the node in FirstChild, and calls the CompareName method to compare the value in ANodeNode to the NodeName property for each child node.
The return value contains the first TDOMNode with a node name that matches the requested value. The return value is Nil if a node is not found that matches the requested value, or when the class instance does not have any child nodes.
|
Finds the Child Node with the specified name. |
|
|
Compares the NodeName in the DOM Node to the specified value. |
|
|
Next DOM Node at the same level in the DOM tree. |
Version 3.2 | Generated 2024-02-25 | Home |