I have a page that is currently utilizing a jQuery plug-in for truncating text string based on a width provided. While the string is truncated and ends with "..." the full string is placed inside TITLE of the element.
Normally it works great, however, I noticed a case where a page has too many strings, close to 100, and my page starts crashing, complaining that the script stopped responding.
Is there a simpler way to truncate? I'm OK use approximate width, perhaps switching to a character count?
I'd love it if this could be accomplished with just a few lines of code.
Can something like this be done?