Adds the CSS class to the control with a value.
Syntax
ctrl.addClass(className);
Arguments
className
the CSS class name. Example: 'highlight'.
Return value
No return value.
Example
Add a CSS class highlight to the control using the JavaScript OnLoad event:
var ctrl = Runner.getControl(pageid, 'Make');
ctrl.addClass('highlight');
See also:
•JavaScript API: Control object > getControl()
•JavaScript API: Control object > remove CSS Class
•JavaScript API: Control object >addStyle()
•JavaScript API: Control object