How can i determine the number of lines in a <textarea>
based on line wrapping ?
( There are no new line characters to be detected. )
Basically, I need a way to programmatically determine the average width of characters in the text area, so I can determine where it wraps (and determine the number of lines in this <textarea>
).
This is for an application using Appcelerator