PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 use>.FindElementById(<Id>)
<Result>: htmlNode variable
htmlNode variable that matches the search condition.
<Element to use>: htmlDocument variable
Name of the htmlDocument variable in which the search will be performed.
<Id>: Character string
Identifier of the element to be searched for.
Business / UI classification: Business Logic
Component: wd270html.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment