:: Documentation >>

setAttribute Method

Sets HTML attribute.

Syntax

obj.setAttribute(name, value);

Parameters

nameStringHTML attribute name.
valueString/FunctionHTML attribute value.

See Also

Active.System.HTML

Comments

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5