how to remember input data in the forms even after refresh page?

后端 未结 10 1486
日久生厌
日久生厌 2020-11-27 17:11

what to do in order to make the form remember the previous input or the current input of the user even after he/she refreshed the page ?

should I do ,



        
10条回答
  •  一向
    一向 (楼主)
    2020-11-27 17:49

    None of your suggestions will help you "remember" data after a refresh (action that not send data to the server). What you need is to grab data via javascript (maybe with onkeyup events type) and grab it using cookies. With jquery is very easy.

提交回复
热议问题