Documentation

BX.cleanNode

DOMNode|null 
BX.cleanNode(
 DOMNode node[,
 bool bSuicide]
);

The function clears the DOM structure node from all child elements. If true is passed via the second parameter, the node itself will also be deleted.



© «Bitrix24», 2001-2022
Up