Any (simple) way with JS to use localstorage to remember entries in all text boxes?
Hi, I am working on a quiz page which will have lots (probably 1000) text boxes to enter answers to, ideally I like to make it possible for user to refresh or leave page and return without losing progress... I have worked out by googling some examples how to do it with localstorage, but only with unique IDs for each text box... Is there anyway of targeting all text boxes? The examples I've found seem to reference each individually but uniquely listing 1000 different ones is a pain in the ass if there is another way.
Many thanks to anyone who may be able to help