Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Use the following code to automatically focus the Editor control when the page loads:
Code: JavaScript
//This function is called when the Editor finishes loading
//because the Editor's ClientSideOnLoad is set to the name
//of this function
function editor_loaded(editor)
{
//Call the Editor's client side API to focus the editor
editor.focus();
}
Code: HTML/ASPX
<eo:Editor ClientSideOnLoad="editor_loaded" .....>
......
</eo:Editor>
Hope this helps.
|