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.
Example
d is htmlDocument = HTMLOpen("https://www.windev.com", fromURL)
e is htmlNode <- d.FindElementByID("MyID")
IF e <> Null THEN
Info(e.TagName)
ELSE
Info("Element not found")
END
Syntax
<Result> = <Element to handle>.ChercheElémentParID(<Identifier>)
<Result>: htmlNode variable
htmlNode variable that matches the search condition.
<Element to handle>: htmlDocument variable
Name of the htmlDocument variable in which the search will be performed.
<Identifier>: Character string
Identifier of the element to be searched for.
Business / UI classification: Business Logic
Component: wd300html.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help