Hi mjw001,
You can set the focus for other control in the editor load API, like the example below.
- <?php include_once("cuteeditor_files/include_CuteEditor.php") ; ?>
- <html>
- <head>
- <title>example</title>
- </head>
- <body>
- <form>
- <br />
- <input id="input1" />
- <?php
- $editor=new CuteEditor();
- $editor->ID="Editor1";
- $editor->Draw();
- $editor=null;
- ?>
- <script>
- function CuteEditor_OnInitialized(editor)
- {
- setTimeout(setFocus,500);
- }
- function setFocus()
- {
- var input1=document.getElementById("input1");
- input1.focus();
- }
- </script>
-
-
- </form>
- </body>
- </html>
Regards,
Ken