HTMLImageElement.SetIdAttribute

Syntax:

SetIdAttribute(<Name>, <IsID>)

Parameters:

<Name> (required)

Type: String.
An attribute name.

<IsID> (required)

Type: Boolean.
An identifier flag.

Description:

This method assigns an identifier to an attribute by name.

Availability:

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

Note:

The method does not change the schema set in the document. Exception reasons:
  • The given node is read-only;
  • The specified attribute is not an attribute of this element.

    

1C:Enterprise Developer's Community