I have 2 editors which work fine. The problem is that when I call the function, FCKeditor_OnComplete, where I am setting it so that it will display the number of characters typed in the textarea of the editor I get the error:
FCKeditorAPI.GetInstance('fckETclientid').EditorDocument.attachEvent('onkeyup',fncOnCharCountfckET) is null or not an object
This always happens when I access the page even though "'fckETclientid' is the id of the editor. The count of characters is working but after this I can not get the value of the editor. Is there something I must do different so that I can have multiple instances both using similar code for the count?
thanks,
^_^
FCKeditorAPI.GetInstance('fckETclientid').EditorDocument.attachEvent('onkeyup',fncOnCharCountfckET) is null or not an object
This always happens when I access the page even though "'fckETclientid' is the id of the editor. The count of characters is working but after this I can not get the value of the editor. Is there something I must do different so that I can have multiple instances both using similar code for the count?
thanks,
^_^
Re: having multiple instances of FCKeditor
Found the answer after looking through many, many posts and the documentation. Here is what I had to do: