ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / HTML file functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Searches for the element whose "ID" attribute matches a specific value in an HTML document (or in an HTML node).
Example
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 use> , <Identifier>)
<Result>: htmlNode variable
htmlNode variable that matches the search condition.
<Element to use>: htmlDocument or htmlNode variable
Element where the search will be performed:
<Identifier>: Character string
Identifier of the element to be searched for.
Component: wd290html.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help