So, I have to get HTML of textarea and check whether it contains line break. How can i see whether it contain \n
because the string return using val()
does not contain \n
and i am not able to detect it. I tried using .split("\n")
but it gave the same result. How can it be done ?
One minute, IDK why when i add \n
to textarea as value, it breaks and move to next line.
`? – VisioN Feb 28 '13 at 08:47