jquery count characters on span tag
<p>I may be missing something pretty obvious, but somehow I am struggling to count the characters inside a span tag.
The span is dynamically populated and I am trying to get its lenght, spaces included, to adjust the width of a column.
If I run only text() or html() I can get the content:</p>

<pre><code>&lt;span id="vlen00"&gt;someword&lt;/span&gt;

vlenght = $('#vlen00').text();//vlenght is assigned 'someword'
vlenght = $('#vlen00').html();//this also gives me 'someword'
</code></pre>

<p>But when I tried to size it up like:</p>

<pre><code>vlenght = $('#vlen00').text().lenght;//that gives me 'undefined'
vlenght = vlenght.lenght;//that also gives me 'undefined'
</code></pre>

<p>Thanks!</p>
