Saturday, September 20, 2014

Calculate / limit lines in textarea

I had to answer and interesting question on StackOverflow (SO): Can can you limit (well, first of all calculate, of course) the number of lines in a textarea?

Good question! One would say, maybe it isn't even possible. Well, it turns out, it's not only possible, but there are a few good ways of doing it. Here are the answers (watch out, one of them, though not the accepted one, has been posted by someone familiar): Max lines textarea.

No comments:

Post a comment

Dear legitimate commenters, please post your comments below. I'd be happy to receive your feedback; helps me a lot improving, or getting reassurance that I'm doing something really great here.

IMPORTANT! A note to commenters planning on advertising their business in comments: please be informed that I'm NOT going to post your comments but will ALWAYS mark them as SPAM.