cf2:dom.Element#Text

Purpose

Allows authors to fix device specific issues with accessing the text content of an element.

Exported Features

cf2:dom.Element#Text

Imported Features

cf2:dom.Element - enhances

JavaScript

This component adds the following methods to the V$.dom.Element's prototype object.

v_setText(text)

Sets the text content of the selected element.

Parameter Description Type
text The text for the element. String
v_getText()

Returns the text content of the element and all its descendants.

Related topics