Why are HTML forms sometimes cleared when clicking on the browser back button

前端 未结 2 1952
遇见更好的自我
遇见更好的自我 2020-12-29 08:51

I am sure everybody knows that behaviour. You fill in a form on the web, and you submit it. After the submission you recognize that you filled in some wrong data. So, you cl

2条回答
  •  灰色年华
    2020-12-29 09:18

    Its a browser issue. Browsers behave differently when the back button is clicked. This question was asked before here Losing form data when clicking the back button on browser

提交回复
热议问题