FCKeditor validation javascript

you can get this like

 

function FCKeditor_OnComplete(editorInstance)
{
alert( editorInstance.Name );
}

after that you will be able to access the editors contents using the javascript API.

var oEditor = FCKeditorAPI.GetInstance(instancename);
var contents = oEditor.GetXHTML(true);
alert(contents);

Leave a Reply

* Required
** Your Email is never shared

© 2010 Mascot Software technologies Pvt. Ltd.

Visit Our USA Site mascotinc.us