I'm about to code, in Javascript some code (involving looping on each <input>
and adding listeners):
- allowing, after keypress, to save all
<input>
values tolocalStorage
- restore all
<input>
values fromlocalStorage
in the case the page/browser has been closed and reopened on the same page
But maybe is there an automatic way, provided by the browsers?
e.g. by adding an attribute to <input>
, similar to <input autofocus>
(which is not related here)
Question: is there an autosave feature of <form>
<input>
HTML tags?