Save selection text and show it later in html and javascript

后端 未结 8 920
悲哀的现实
悲哀的现实 2020-12-14 18:39

I have a difficult situation with html and javascript. My html page allows user to select text and highlight it with colors. Now I want to save the state into database to sh

8条回答
  •  不知归路
    2020-12-14 18:45

    You can use .serialize() method which return text string in standard URL-encoded notation. it has selected individual form element such as ,