W
Window Frog
Hello Javascript gurus. I have a question about a Textarea. I am typing
text or copying and pasting text into a textarea. This text contains
line breaks, paragraphs, bullets, etc. In the Textarea it looks
correct, but when saved to a database and displayed later it is all
rendered in 1 big paragraph - obviously because it lacks the proper
tags. Is there a way to get it to save with tags that correspond to its
various paragraphs, breaks, etc.? Like it literally inserts the <p> and
<br> for me? Thanks - MG
text or copying and pasting text into a textarea. This text contains
line breaks, paragraphs, bullets, etc. In the Textarea it looks
correct, but when saved to a database and displayed later it is all
rendered in 1 big paragraph - obviously because it lacks the proper
tags. Is there a way to get it to save with tags that correspond to its
various paragraphs, breaks, etc.? Like it literally inserts the <p> and
<br> for me? Thanks - MG