This source-code works perfectly in IE, but not in FF.
The error I get from FF is "fckEditorInst.CreateHtml is not a function."
On http://dev.fckeditor.net/ticket/422 someone had the same problem.
The answer was "be sure you are correctly including that file, and that there are no typos in your code".
If IE does it correctly, I suppose the files are included correctly.
And I have been looking to my sourcecode for more dan 4 hours.
<div id='pageHTMLfck'> <img src='nieuw.gif' onLoad='ShowEditor("<?= $row['comment']) ?>")';> </div> function ShowEditor(HtmlSourceCode) { var fckEditorInst = new FCKeditor('pageHTMLEditor', '100%', 300, 'CustomAjax', HtmlSourceCode); fckEditorInst.BasePath = "properties/FCKeditor/"; document.getElementById('pageHTMLfck').innerHTML = fckEditorInst.CreateHtml(); }
Re: fckEditorInst.CreateHtml() is not a function
Problem solved. Close FF-browser, startup FF-browser, problem gone...
very strange...