I have n-number of FCKeditor on a dynamic page integrated with javascript. I would like to increment a counter when each editor is loaded. I plan to accomplish this with FCKeditor_OnComplete function. However, I need a place to store the counter value. Is there a way to store it in FCKeditorAPI?
I can probably create a global variable on the page but would prefer to keep it within FCK. Please let me know if there are other options.Thanks.
Also, how do I get the size of FCKeditorAPI.Instances instead of looping through it?
I can probably create a global variable on the page but would prefer to keep it within FCK. Please let me know if there are other options.Thanks.
Also, how do I get the size of FCKeditorAPI.Instances instead of looping through it?