I have sent the contents of textarea by attatching the value as url.when i access it by using request.getPara meter i lost the new line.What is the solution?
How to get the contents of the text area without lossing new line character in ajax ?
Collapse
X
-
Tags: None
-
-
I think the confusion comes from the term Ajax. Just because one part is JavaScript doesn't necessarily mean that the problem is there. I think you need to post rather than use GET. You will also need to convert the newlines to <br> when displaying on the screen (i.e. not back in the textarea).Comment
Comment