Hi I want to be able to count the number of displayed characters in a Div with javascript/jquery. For example
<div id=mydiv>
<p>This is my div!</p>
</div>
I want to get the number 15 since that's how many chars in the div including spaces.
Thanks!
foo
` and doing `$('p').text().length` will give you 3, not 10, because the `` is NOT counted. – Marc B Aug 28 '13 at 14:15