I am a newbie on ckEditor. I just embed the ckEditor to my application , and it works perfect. The only question is I don't know how to check the length of a text inputed. Usually there are just plain text, so I just check the length of string, but now there are a lot of html code in text area too and I don't want to count them to total length. Anybody can give me some advice? Thanks in advance./
Wed, 11/18/2009 - 19:32
#1
Re: How to check text length inputed?
var text = editor.document.getBody().getText();
if (text.length > 0)
Your code here....