length of text inside a span - and handle long text gracefully
Posted on 2013-01-24
How do I find the length of the text inside of a <span> tag?
and it said "2" and I know that is not correct.
Essentially, what I want to do is if the text inside the span is greater than a certain length, I want to put "..." and then when they hover over the truncated text I want to show a popup bubble of some sort that shows the full text.