I am using ajax to send email. When I take the value of message box, it will not take the line breaks. How to take the contents without losing its alignments using JavaScript. Jquery shows some problem so I am using pure JavaScript and ajax functionality. Please help me.
Share
Are u using php as an backend script?
If so: try nl2br() function.
If not, try to post your code in your question.