text


textstring

Sets or gets the plain-text contents of a text element.

Note: This mobile text property only supports plain text and not HTML tags.

Setting the text property sets the plain-text contents of the text element. Any text that the element already contained is replaced. The new text is formatted using the formatting that was used on of the first character of the previous text value.

Getting the text property returns the plain-text content of the element.

Was this helpful?
Yes
No