void SetFocusToEditor(editor_id)
에디터에 포커스를 이동시켜 줍니다.
return value
없음.
parameters
editor_id 포커스를 줄 에디터의 id를 의미합니다.
remarks
없음.
sample code
<!-- ..... 생략 ..... --> <script type="text/javascript" src="keditor/js/raonkeditor.js"></script> <script type="text/javascript"> // 에디터가 로드 된 후 editor1 에 포커스를 설정합니다. function setFocusToEditor(){ RAONKEDITOR.SetFocusToEditor('editor1'); } </script> <!-- ..... 생략 ..... --> <div style="width:900px;height:550px"> <!-- 에디터 생성 --> <script type="text/javascript"> new RAONKEditor({Id:'editor1'}); </script> </div> <!-- ..... 생략 ..... --> </body> </html>