I have a form with multiple FCK-instances. I understod the documentatin, that the function FCKeditor_OnComplete( editorInstance ) will be called afer every instance are loaded completely.
I implemented the funtion for testing as follows:
All FCK-Instances are working fine, but the function FCKeditor_OnComplete( editorInstance ) will not be executed. What could be wrong?
I implemented the funtion for testing as follows:
function FCKeditor_OnComplete( editorInstance ) { alert(editorInstance.Name) }
All FCK-Instances are working fine, but the function FCKeditor_OnComplete( editorInstance ) will not be executed. What could be wrong?
Re: function FCKeditor_OnComplete( editorInstance ) - how to use
Re: function FCKeditor_OnComplete( editorInstance ) - how to use
???
In the docs is only written, that this function has only to be in the script-header to be called automatically OnComplete of the FCK-initialation... What do you mean?
Re: function FCKeditor_OnComplete( editorInstance ) - how to use
If it is the only function on page, that definitely a problem.
Re: function FCKeditor_OnComplete( editorInstance ) - how to use
All other script on the page works fine, there is no JS-error... The event-handler will definitely not called from the FCK-instances
Re: function FCKeditor_OnComplete( editorInstance ) - how to use
You're not doing anything complicated with the function, so I don't know where else the problem could reside... Are you using a current version?
Re: function FCKeditor_OnComplete( editorInstance ) - how to use
yes, the function is defined before creating the fck instances