Documentation

BX.addClass/BX.removeClass

DOMNode 
BX.addClass(
 DOMNode node,
 string className
);

The function adds the classNameCSS-class to the node, if such class is unavailable in the node.

DOMNode 
BX.removeClass(
 DOMNode node,
 string className
);

Function adds/deletes className CSS-class to the node.



© «Bitrix24», 2001-2022
Up