Total number with jquery
<p>How can total the number of characters between the <code>p</code> tags with jQuery?</p>

<p>I try as:</p>

<p><strong><a href="http://jsfiddle.net/TPFkF/" rel="nofollow">DEMO</a></strong></p>

<p>html:</p>

<pre><code>&lt;b&gt;1&lt;/b&gt;
&lt;b&gt;1&lt;/b&gt;
&lt;b&gt;1&lt;/b&gt;
</code></pre>

<p>js:</p>

<pre><code>var tBytes = 0,
    tFiles = $('b').length;
for (var tFileId = 0; tFileId &lt; tFiles; tFileId++) {
    tBytes += $('b').text();
}
alert(tBytes);​ // Output is : 0111111111 I want output as: 3
</code></pre>

<p>What do i do?</p>

<p>​</p>
