var txt = 'Some texts, html tags & all values i can enter through text box';
txt= txt.substring(0,255)+'...';
Can i do this thing using css?
My problem is if txt contains HTML tags, after doing a sub string the closing tag gets missing and it will break.
text-overflow:ellipsis;