Show newlines in html textarea

前端 未结 3 1639
遥遥无期
遥遥无期 2020-12-04 04:01

I have a textarea and I set its text to a string with \\n in it. I would expect that to represent a line break.

$(\"#ConfirmEmailText\").text(\         


        
3条回答
提交回复
热议问题