I am trying to make a normal input, but if I write inside the input for example
text line1 text line1
text line2
text line3 text line3
the value that i get : text line1 text line1 text line2 text line3 text line3
I tried textArea and normal input, and both of them gave me the same result.
2
Answers
Hello to retrieve the value of your textarea taking into account the lines
we have our textarea tag
<html><body><textareaname="textA"id="inputD" cols="30" rows="10" onchange="changeText()" </textarea> </body> </html>
here is the js