Documentation

editor.focus()

Attempt to set the focus of the editor content window.

Syntax

editor.focus()

Example usage

var editor1 = new RichTextEditor("#div_editor1");        
editor1.focus();