jquery - New line is ignored while submitting text -


On the client side I'm using jquery and server-side spring MVC.

I have a lesson:

  This line is 1 this line is 2   

If I submit it to DB Then it is stored in this line1 is the line 2 means new <<>

To see line breaks on the HTML page, \ n characters & lt; Br / & gt; . For example in Java:

  string output = withbrew = inputwidbread.value ("[\\ r \\ n] +", "


Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

php - Sorting an multidimension array using usort fails -

Simple file compression in C -