Dear surrounding,
Please try the following code:
function setFocus()
{
// get the cute editor instance
var editor1 = document.getElementById('<%=editor.ClientID%>');
editor1.FocusDocument();
}
You can refer to JavaScript-API.asp which can be found in download package.
thanks for asking