:: Documentation >> Reference >>
setAttribute Method
Sets HTML attribute.
Syntax
obj.setAttribute(name, value);
Parameters
name
String
HTML attribute name.
value
String/Function
HTML attribute value.
Applies To
Active.System.HTML