TX Text Control .NET Server

Javascript: TXTextControl.focus Method

Method

Description

Sets the text input focus to the web editor.

Syntax

<void> TXTextControl.focus()

Examples

The following example demonstrates TXTextControl.focus in a practical document-editing workflow. It sets the text input focus to the web editor.

TXTextControl.focus();

Further Reading

  • Building a Touch-enabled Button Bar with Javascript –