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
Adds a node after the specified node in an HTML document.
Example
hDoc is htmlDocument = "
<html><head/><body><div id="div"><p>Text</p></div></body></html>
"
hNode is htmlNode <- hDoc.FindElementByID("div")
// body: <div id="div"><p>Text</p></div>
hNode1 is htmlNode
hNode1..TagName = "h1"
hNode1..Text = "h1_text"
hNode.InsertAfter(hNode1)
//<html><head><body><div id="div"><p>Text</p></div><h1>h1_text</h1></body></html>
Syntax
<Source node>.InsertAfter(<Node to insert>)
<Source node>: htmlNode variable
Name of the htmlNode variable that corresponds to the insert reference node.
<Node to insert>: htmlNode variable
Name of the htmlNode variable that corresponds to the node to be inserted after <Source node>.
Business / UI classification: Business Logic
Component: wd280html.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment