您的位置:首页 > 其它

判断FCKeditor内容是否为空

2009-05-20 22:46 281 查看
function getContentValue()
{
       var oEditor = FCKeditorAPI.GetInstance('content') ;
       var acontent=oEditor.GetXHTML();
       return acontent;
}

if(getContentValue() == '') {alert('请输入内容');return false;}

判断FCKeditor内容是否为空
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  fckeditor function