148
rated 0 times
[
152]
[
4]
/ answers: 1 / hits: 16082
/ 11 Years ago, sun, august 25, 2013, 12:00:00
I am trying to get value of a textarea with line break. When I debug, the value is this way in jquery. the value stored in a variable like this:
test<br>
test<br>
test<br>
In .value of valueOf is: 'test↵test↵test'.
I wonder how can I convert it to n in order to insert line break.. I'm using jquery to get the value and send by ajax to php!
thanks.. :)
Sorry my english..
More From » jquery