In this thread I will show you two good Java Script functions. With both of them you can calculate how many chars you have.

The first one will calculate a specific element.


The second one will calculate all chars between HTML tags. HTML tags are not included.



You might however replace innerHTML to outerHTML as shown bellow. This will therefore calculate all document. (does not work in Firefox)