var EditorInstance = FCKeditorAPI.GetInstance(‘message’) ; //message is name of field to be validate
if(EditorInstance.EditorDocument.body.innerText.length<=0)
{
alert(“This firld is mandatory”);
EditorInstance.EditorDocument.body.focus();
return false;
}
Filed under: Javascript Tagged: | fckeditor blank field validate, fckeditor validate, javascript fckeditor
great!