Skip to main content

Add an attribute value to elements

ADD_ATTRIBUTE_VALUE_CSS

Adds an attribute value to the elements matching the CSS selector.

Parameters

  • css (string): The CSS selector.
  • attribute (string): The name of the attribute, e.g. class
  • value (string): The value of the attribute, e.g. myClass
  • topicText (string): Use $TOPIC_XHTML
  • trackChanges (bool): true/false

Returns

The Flare topic XHTML