THtmlDocument() > Methods for searching and navigating |
Locates the first HTML node containing particular data.
:findFirst( [<cTagName>] , ; [<cAttributeName>] , ; [<cAttributeValue>] , ; [<cText>] ) --> oTHtmlNode | NIL
Method :findFirst() locates the first HTML node in the HTML document that matches the search criteria. If no parameter is passed, the first HTML node in the tree is returned. Search criteria can be any combination of name, attribute and textual content. If no matching node is found, the return value is NIL.
If a matching node is found, the next node matching the same search criteria is returned from method :findNext().
http://www.xHarbour.com