|
|
|
|
|
<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>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.InsertBefore(hNode1) // <html><head><body><h1>text_h1</h1><div id="div"><p>Text</p></div></body></html>
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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|