asp.net运行CKEDITOR编辑器时出现错误
运行CKEDITOR编辑器时出现错误MicrosoftJScript运行时错误:[CKEDITOR.editor]Theinstance"txtcontent"alrea...
运行CKEDITOR编辑器时出现错误
Microsoft JScript 运行时错误: [CKEDITOR.editor] The instance "txtcontent" already exists.
而且下方多出了一个编辑器。
调用代码是:“
<asp:TextBox ID="txtcontent" runat="server" TextMode="MultiLine" Height="503px" Width="800px" class="ckeditor" ></asp:TextBox>
<script type="text/javascript">
CKEDITOR.replace('<%= txtcontent.ClientID %>', { skin: 'blue' });
</script> 展开
Microsoft JScript 运行时错误: [CKEDITOR.editor] The instance "txtcontent" already exists.
而且下方多出了一个编辑器。
调用代码是:“
<asp:TextBox ID="txtcontent" runat="server" TextMode="MultiLine" Height="503px" Width="800px" class="ckeditor" ></asp:TextBox>
<script type="text/javascript">
CKEDITOR.replace('<%= txtcontent.ClientID %>', { skin: 'blue' });
</script> 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询