<script language="javascript">
var oEditer;
function check(){
var content = oEditer.GetXHTML(true); //content就是编辑器的内容的html源码了
if( content.length<100){
alert("请输入信息内容,100个字符以上...");
return false;
}
}
function FCKeditor_OnComplete( editorInstance ){
oEditer = editorInstance;
}
</script>
<form action='' method='post' onSubmit="return check();">
TO:
http://www.infogame.cn/soulplane/article.asp?id=271
转载于:https://www.cnblogs.com/xiazhi33/articles/937642.html