|
|
|
|
|
<htmlNode variable>.InsertLastChild (Function) In french: <Variable htmlNoeud>.InsèreDernierFils Adds a child after the child of the current node in an HTML document. hDoc is htmlDocument = "
<html>
<head/>
<body>
<h2><span>
<p>Texte</p>
</span></h2><h3></h3>
</body>
</html>
"
hNoeud is htmlNode
hNoeudInsertion is htmlNode
hNoeudRecherche is array of htmlNode <- hDoc.ChercheElémentParBalise("h3")
hNoeud <- hNoeudRecherche[1]
hNoeudInsertion..TagName = "div"
hNoeud.InsèrePremierFils(hNoeudInsertion)
hNoeudInsertion..TagName = "span"
hNoeud.InsèreDernierFils(hNoeudInsertion)
Trace(hDoc)
Syntax
<Source node>.InsertLastChild(<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 child node to be inserted after the last child of <Source node>. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|