I have to somehow split text from textarea by rows. It's not a problem when user hit enter
on it because then in string is \n
char so it's easy to detect.
But what if browser automatically move some word to another row in textarea? Is browser put some special char when sentence is split automatically?
var splitted = $('#textArea').val().split("\n");
Is not a soulution because it's work only when user hit enter
.