Sets text on the control. If the control has a value property the value is set, otherwise the innerText or textContent property is set. Text set will be HTML encoded by the browser automatically. If you need to encode on your own or provide custom formatting use setHtml instead.
o.wwControl.setText
See also:
Client Class wwControl