|
|
|
|
|
<htmlNode variable>.RemoveAttribute (Function) In french: <Variable htmlNoeud>.SupprimeAttribut Removes a given attribute hDoc is htmlDocument = "
<html>
<head/>
<body>
<h2><span>
<p>Texte</p>
</span></h2><h3><div></div><span></span></h3>
</body>
</html>
"
hNoeud is htmlNode
hNoeudRecherche is array of htmlNode <- hDoc.ChercheElémentParBalise("h3")
hNoeud <- hNoeudRecherche[1]
hNoeud.ModifieAttribut("id")
hNoeud.ModifieAttribut("id", "h3")
hNoeud.SupprimeAttribut("id")
Syntax
<Source node>.DeleteAttribute(<Attribute>)
<Source node>: htmlNode variable Name of the htmlNode variable that corresponds to the reference node for removing the attribute. <Attribute>: htmlAttribute variable or character string Attribute to be removed. This element can correspond to: - a variable of type htmlAttribute.
- a string corresponding to the attribute to be deleted.
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|