JavaScript Editor
Invoke the focus method of the jqxEditor. Author: http://jqwidgets.com
by jqwidgets
HTML
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id="editor"> <strong>Editor Value</strong>
</div>
<br/><br/>
<button id='focusButton'>Focus</button>
JavaScript
$('#editor').jqxEditor({
height: 400,
width: 800,
theme: 'energyblue'
});
$("#focusButton").jqxButton({
theme: 'energyblue'
});
$("#focusButton").click(function () {
$('#editor').jqxEditor('focus');
});