HTMLDocument.CreateElement

Syntax:

CreateElement(<ElementName>)

Parameters:

<ElementName> (optional)

Type: String.
Name of created element.

Returned value:

Type: HTMLElement.
New HTML node - Element with <ElementName> parameter value set for the NodeName property. LocalName, Prefix properties are not defined.

Description:

Creates new HTML node of XML element. If attributes with default values are known, they are added to the element automatically.
Exception call reasons:
  • Element name contains characters invalid for XML standard.

Availability:

Thin client, server, thick client, external connection, Mobile application (client), Mobile application (server).

    

1C:Enterprise Developer's Community