Sometimes we need to use multiple instances of Fck on a page, and first we need to obtain the instance of Fck according to the id. For example:
<FCKeditorV2:FCKeditor ID="fckDescription" runat="server" ToolbarSet="Basic" Height="250">
</FCKeditorV2:FCKeditor>
Get Fck instance using
function FCKeditor_OnComplete(editorInstance)
{
oEditer = ('fckDescription');
}
This method can handle multiple Fcks.
Introduction to FCKeditor API
Copy the codeThe code is as follows:
<FCKeditorV2:FCKeditor ID="fckDescription" runat="server" ToolbarSet="Basic" Height="250">
</FCKeditorV2:FCKeditor>
Get Fck instance using
Copy the codeThe code is as follows:
function FCKeditor_OnComplete(editorInstance)
{
oEditer = ('fckDescription');
}
This method can handle multiple Fcks.
Introduction to FCKeditor API