Product Information > JADE Encyclopaedia of Classes – Volume 2 > Chapter 1 - System Classes > setText

setText

setText(data: String) updating;

The setText method of the JadeXMLElement class sets the text of the receiver element with the text specified in the data parameter and deletes all existing child elements.