fckeditor控件 字数限制在哪里改啊! 我上网查到好像默认的是1000个字。。如果我想改成500呢?
请问在哪里改啊!麻烦大家了
请问在哪里改啊!麻烦大家了
解决方案 »
- Iframe问题,在线等
- IIS发布问题
- 放分,网页视频显示的问题.(小弟还有一点不明白)
- 关于找不到它的一个依赖项,求救!
- 在click事件时,如何触发客户端事件处理程序和服务器事件处理程序?
- 如何在本页面中控制页面的打开高度或宽度?
- 请问谁对Infragistics NetAdvantage 2004 Volume 2这套控件熟悉的,帮忙了!谢谢!
- 如果修改DataGrid翻页相关的属性?
- [高分求救]在ASP.NET中怎么使用Ubb?
- aspx文件中怎么获取类似ht"http://www.csdn.net/Expert/PostNew.asp?room=33&typestate=1"中的room、typestate参数?
- 如何解决ASP.NET上传文件大小限制
- 求一小小段代码
var maxChars = 20;
if (which.value.length > maxChars)
{}
}
</script>
<asp:TextBox ID="txtInput" runat="server" Width="200px" Height="60px" onkeydown="checkLength(this);" TextMode="MultiLine"></asp:TextBox>var oEditor=FCKeditorAPI.GetInstance('content');
var content=oEditor.GetXHTML(true);
// 获取编辑器中HTML内容
function getEditorHTMLContents(EditorName) {
var oEditor = FCKeditorAPI.GetInstance(EditorName);
return(oEditor.GetXHTML(true));
}
// 获取编辑器中文字内容
function getEditorTextContents(EditorName) {
var oEditor = FCKeditorAPI.GetInstance(EditorName);
return(oEditor.EditorDocument.body.innerText);
}
<div>
<asp:DataList ID="DataList1" runat="server" Width="742px">
<ItemTemplate>
<%#Eval("id") %>
<%#Eval("box") %>
</ItemTemplate>
</asp:DataList>
<FCKeditorV2:FCKeditor ID="FCKeditor1" DefaultLanguage="zh-cn" runat="server">
</FCKeditorV2:FCKeditor>
</div>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
</form>
前台的代码如上: