Jquery - Truncate Text by Line (not by chart-count)
<p>I need a Jquery script to truncate a text paragraph by line (not by chart count).</p>

<p>I would like to achieve an evenly truncated text-block. It should have a "more" and "less" link to expand and shorten the text paragraph. My text paragraph is wrapped in a div with a class, like this:</p>

<pre><code>&lt;div class="content"&gt;
&lt;h2&gt;Headline&lt;/h2&gt;
&lt;p&gt;The paragraph Text here&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>The closest solution i could find on SOF is the one below (but it`s for textarea element and does not work for me):
<a href="http://stackoverflow.com/questions/556767/limiting-number-of-lines-in-textarea">http://stackoverflow.com/questions/556767/limiting-number-of-lines-in-textarea</a></p>

<p>Many thanks for any tips.
Ben</p>
