Skip to main content
A newer version of this page is available. .

ASPxClientTextEdit.GetCaretPosition Method

Obtains the caret position within the edited text.

Declaration

GetCaretPosition(): number

Returns

Type Description
number

An integer value that specifies the zero-based index of a text character that precedes the caret.

Remarks

Note that WebKit-based browsers do not support getting/setting caret position functionality, so the GetCaretPosition method does not work under them.

See Also