I'm looking for a javascript that can limit the number of lines (by line I mean some text ended by user pressing enter on the keyboard) the user is able to enter in textarea. I've found some solutions but they simply don't work or behave really weird.
The best solution would be a jquery plugin that can do the work - something like CharLimit, but it should be able to limit text line count not character count.