Dear All:
I want to get the value of text that not include HTML tags,
then use the length of text to do some check.
Does anybody knows how to?Thanks
I want to get the value of text that not include HTML tags,
then use the length of text to do some check.
Does anybody knows how to?Thanks
RE: How to get the length of text with out Ta
RE: How to get the length of text with out Ta
var cnt;
if (typeof(oEditor.EditorDocument.body.innerText) == "undefined") {
cnt = trim(oEditor.EditorDocument.body.textContent);
} else {
cnt = trim(oEditor.EditorDocument.body.innerText);
}