http://docs.fckeditor.net/FCKeditor_2.x ... Script_API
<?
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = 'library/fckeditor/';
$oFCKeditor->ToolbarSet='Basic';
$oFCKeditor->Value = stripslashes($template->email_body);
$oFCKeditor->Create();
?>
<script type="text/javascript">
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1');
var oEditor = window.parent.InnerDialogLoaded().FCK ;
oFCKeditor.InsertHTML='hello world';
</script>
FCKeditorAPI is not defined
[Break on this error] var oEditor = FCKeditorAPI.GetInstance('FCKeditor1');

Re: using javascript api, error: FCKeditorAPI is not defined
Re: using javascript api, error: FCKeditorAPI is not defined
Re: using javascript api, error: FCKeditorAPI is not defined
How did you solve it?
Re: using javascript api, error: FCKeditorAPI is not defined