|
|
|
|
|
<htmlNode variable>.InsertBefore (Function) In french: <Variable htmlNoeud>.InsèreAvant Adds a node before the specified node in an HTML document. hDoc is htmlDocument = "
<html><head/><body><div id="div"><p>Texte</p></div></body></html>
"
hNoeud is htmlNode <- hDoc.ChercheElémentParID("div")
hNoeud1 is htmlNode
hNoeud1..TagName = "h1"
hNoeud1..Text = "texte_h1"
hNoeud.InsèreAvant(hNoeud1)
Syntax
<Source node>.InsertBefore(<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 before <Source node>. Business / UI classification: Neutral code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|