setAttribute

Sets the value of a specified property.

Syntax

Reference_Syntax.setAttribute( STRING param1, STRING param2 )

Parameters

param1

A valid string representing the new value of the property.

param2

A valid string representing the name of the property.

Returns

Empty

Applies to

Also applies to the node class class.

Version

XFA 2.1

Examples

JavaScript

Subform1.border.setAttribute("open", "break");

// Ethnio survey code removed