判断编辑器fck是否为空
//判断编辑器是否为空
var oeditor = FCKeditorAPI.GetInstance('content'); //这里的content是fck的id值
if(oeditor.GetXHTML()==""|| oeditor.GetXHTML() == "<br />") {
alert('内容不能为空!');
oeditor.Focus();
return false;
}
var oeditor = FCKeditorAPI.GetInstance('content'); //这里的content是fck的id值
if(oeditor.GetXHTML()==""|| oeditor.GetXHTML() == "<br />") {
alert('内容不能为空!');
oeditor.Focus();
return false;
}