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
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 <- HTMLFindElementByID(hDoc, "div")
// body: <div id="div"><p>Text</p></div>
hNode1 is htmlNode
hNode1..TagName = "h1"
hNode1..Text = "h1_text"
HTMLInsertAfter(hNode, hNode1)
//<html><head><body><div id="div"><p>Text</p></div><h1>h1_text</h1></body></html>
Syntax
HTMLInsertAfter(<Source node> , <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: wd290html.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/31/2022

Send a report | Local help