The .val() property of an item in jQuery for a doesn\'t seem to work with new lines. I need this function as the text-area is mean
.val()
There is a easy solution: make the container with pre tag.
test fdfdf
fdfdf