FCKeditor 编辑器判断值是否为空

var  oEditor  =  FCKeditorAPI.GetInstance("<%=FCKeditor1.ClientID %>") ;
if(oEditor.GetXHTML(true).Trim().length == 0)
{
     alert("请输入标题!");
     return false;
}

posted on 2007-11-21 13:09  lei1217  阅读(744)  评论(0编辑  收藏  举报

导航