2
How to use jQuery to sum characters in different paragraphs? Example:
<div id="test">
<p>Lorem Ipsum</p>
<p>Lorem Ipsum</p>
</div>
Note. Cannot add id
and class
in the tags <p>
.
I managed to do a function (here), but she uses the .each()
jQuery. I wonder if there is any other more efficient way to solve this.
Thank you, Sergio.
– Paulo Gonçalo