|
|
|
|
|
HTMLFindElementByID (Function) In french: HTMLChercheElémentParID Searches for the element whose "ID" attribute matches a specific value in an HTML document (or in an HTML node). d is htmlDocument = HTMLOpen("https://www.windev.com", fromURL)
e is htmlNode <- HTMLChercheElémentParID(d, "MyID")
IF e <> Null THEN
Info(e.TagName)
ELSE
Info("Element not found")
END
Syntax
<Result> = HTMLFindElementByID(<Element to handle> , <Identifier>)
<Result>: htmlNode variable htmlNode variable that matches the search condition. <Element to handle>: htmlDocument or htmlNode variable Element where the search will be performed: <Identifier>: Character string Identifier of the element to be searched for.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|