ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / HTML file functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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>Texte</p></div></body></html>
"
hNoeud is htmlNode <- hDoc.ChercheElémentParID("div")
// body: <div id="div"><p>Texte</p></div>
hNoeud1 is htmlNode
hNoeud1..TagName = "h1"
hNoeud1..Text = "texte_h1"
hNoeud.InsèreAprès(hNoeud1)
//<html><head><body><div id="div"><p>Texte</p></div><h1>texte_h1</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: wd300html.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help