Limit number of rows

Jun 18, 2014 at 10:49 AM
(Warning - jHtmlArea noob)

I need to limit the number of rows/lines that users can have in a jHtmlArea.
This is regardless of the text/HTML behind the scene, what I want to prevent the user from producing content that goes over a certain number of rows when displayed.
Does anyone know how to achieve this?

If it is too hard, is there a way to limit height (under similar premises)?

The reason for this is that I will need to produce an HTML document combining several sources, including a few jHtmlArea fields, and this has a page limit.