<script type="text/javascript">
function FCKeditor_OnComplete( editorInstance )
{
var oCombo = document.getElementById( 'cmbToolbars' ) ;
oCombo.value = editorInstance.ToolbarSet.Name ;
oCombo.style.visibility = '' ;
oEditor.Focus();
}
function ChangeToolbar( toolbarName )
{
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
}
</script>
<?php
$oFCKeditor->BasePath = '/home/***/public_html/fckeditor/' ;
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = $sBasePath ;
if ( isset($_GET['Toolbar']) )
$oFCKeditor->ToolbarSet = htmlspecialchars($_GET['Toolbar']);
$oFCKeditor->Value = $row['myContent'];;
$oFCKeditor->Create() ;
?>
whit this code I get the focus at the start of the content in my instance. I would really like it to set focus at the end of my content so I can continue writing without targeting the place with my mouse or arrows.
Is this possible and how do I do it ?
