I want to get the count of characters of a div.
Now I use
Code:
m= $('content_text').innerHTML;
but is a way to clean html code and get only the number of characters of the pure text of that div?
I use mootools.