This has been driving me crazy all day.
Is there any way to match newlines or linebreaks in a textarea html element. I am not talking about when a user adds a line break by hitting enter for example. I am talking about when the browser automatically returns a newline or wraps the line. These breaks need to be matched via javascript. Any help would be greatly appreciated.
Sincerely,
Ryan