HTMLAttributeMap.SetNamedItem

Syntax:

SetNamedItem(<Attribute>)

Parameters:

<Attribute> (required)

Type: HTMLAttribute.
HTML attribute.

Returned value:

Type: DOMAttribute.

Description:

Use it to set HTML attribute to a collection using local nameof attribute node as a key.
If the collection has an attribute with the same local name, it is replaced and returned as a returned value.

Availability:

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

    

1C:Enterprise Developer's Community